- Fix: Droplets for gradient pickers can now be double-clicked in

other browsers in addition to Firefox such as Chrome
    to allow change of color (fixes #181) (@ajinkyas);
    may be different between the browsers as a result of
    <https://github.com/w3c/uievents/issues/141>
- Builds: Update
master
Brett Zamir 2019-04-03 11:31:06 +08:00
parent 0171e177cb
commit 69ea647286
10 changed files with 37 additions and 25 deletions

View File

@ -2,6 +2,11 @@
## ?
- Fix: Droplets for gradient pickers can now be double-clicked in
other browsers in addition to Firefox such as Chrome
to allow change of color (fixes #181) (@ajinkyas);
may be different between the browsers as a result of
<https://github.com/w3c/uievents/issues/141>
- Fix: Delay icon setting until locales available (fixes #323)
- Fix: Extension with no `placement` to be added to end;
for #326 (@sjernigan)

12
dist/index-es.js vendored
View File

@ -23447,8 +23447,7 @@ function jQueryPluginJGraduate($) {
function selectStop(item) {
if (curStop) curStop.setAttribute('stroke', '#000');
item.setAttribute('stroke', 'blue');
curStop = item;
curStop.parentNode.append(curStop); // stops = $('stop');
curStop = item; // stops = $('stop');
// opac_select.val(curStop.attr('fill-opacity') || 1);
// root.append(delStop);
}
@ -27349,9 +27348,11 @@ var jPicker = function jPicker($) {
for (var i = 0; i < color.quickList.length; i++) {
/* if default colors are hex strings, change them to color objects */
if (_typeof(color.quickList[i]).toString().toLowerCase() === 'string') color.quickList[i] = new Color({
hex: color.quickList[i]
});
if (_typeof(color.quickList[i]).toString().toLowerCase() === 'string') {
color.quickList[i] = new Color({
hex: color.quickList[i]
});
}
var _alpha = color.quickList[i].val('a');
@ -27445,6 +27446,7 @@ var jPicker = function jPicker($) {
for (var i = 0; i < List.length; i++) {
if (List[i] === that) {
List.splice(i, 1);
i--; // Decrement to ensure we don't miss next item (lgtm warning)
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

12
dist/index-umd.js vendored
View File

@ -23453,8 +23453,7 @@
function selectStop(item) {
if (curStop) curStop.setAttribute('stroke', '#000');
item.setAttribute('stroke', 'blue');
curStop = item;
curStop.parentNode.append(curStop); // stops = $('stop');
curStop = item; // stops = $('stop');
// opac_select.val(curStop.attr('fill-opacity') || 1);
// root.append(delStop);
}
@ -27355,9 +27354,11 @@
for (var i = 0; i < color.quickList.length; i++) {
/* if default colors are hex strings, change them to color objects */
if (_typeof(color.quickList[i]).toString().toLowerCase() === 'string') color.quickList[i] = new Color({
hex: color.quickList[i]
});
if (_typeof(color.quickList[i]).toString().toLowerCase() === 'string') {
color.quickList[i] = new Color({
hex: color.quickList[i]
});
}
var _alpha = color.quickList[i].val('a');
@ -27451,6 +27452,7 @@
for (var i = 0; i < List.length; i++) {
if (List[i] === that) {
List.splice(i, 1);
i--; // Decrement to ensure we don't miss next item (lgtm warning)
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -757,7 +757,6 @@ export default function jQueryPluginJGraduate ($) {
if (curStop) curStop.setAttribute('stroke', '#000');
item.setAttribute('stroke', 'blue');
curStop = item;
curStop.parentNode.append(curStop);
// stops = $('stop');
// opac_select.val(curStop.attr('fill-opacity') || 1);
// root.append(delStop);

View File

@ -23450,8 +23450,7 @@
function selectStop(item) {
if (curStop) curStop.setAttribute('stroke', '#000');
item.setAttribute('stroke', 'blue');
curStop = item;
curStop.parentNode.append(curStop); // stops = $('stop');
curStop = item; // stops = $('stop');
// opac_select.val(curStop.attr('fill-opacity') || 1);
// root.append(delStop);
}
@ -27352,9 +27351,11 @@
for (var i = 0; i < color.quickList.length; i++) {
/* if default colors are hex strings, change them to color objects */
if (_typeof(color.quickList[i]).toString().toLowerCase() === 'string') color.quickList[i] = new Color({
hex: color.quickList[i]
});
if (_typeof(color.quickList[i]).toString().toLowerCase() === 'string') {
color.quickList[i] = new Color({
hex: color.quickList[i]
});
}
var _alpha = color.quickList[i].val('a');
@ -27448,6 +27449,7 @@
for (var i = 0; i < List.length; i++) {
if (List[i] === that) {
List.splice(i, 1);
i--; // Decrement to ensure we don't miss next item (lgtm warning)
}
}
}

View File

@ -23450,8 +23450,7 @@
function selectStop(item) {
if (curStop) curStop.setAttribute('stroke', '#000');
item.setAttribute('stroke', 'blue');
curStop = item;
curStop.parentNode.append(curStop); // stops = $('stop');
curStop = item; // stops = $('stop');
// opac_select.val(curStop.attr('fill-opacity') || 1);
// root.append(delStop);
}
@ -27352,9 +27351,11 @@
for (var i = 0; i < color.quickList.length; i++) {
/* if default colors are hex strings, change them to color objects */
if (_typeof(color.quickList[i]).toString().toLowerCase() === 'string') color.quickList[i] = new Color({
hex: color.quickList[i]
});
if (_typeof(color.quickList[i]).toString().toLowerCase() === 'string') {
color.quickList[i] = new Color({
hex: color.quickList[i]
});
}
var _alpha = color.quickList[i].val('a');
@ -27448,6 +27449,7 @@
for (var i = 0; i < List.length; i++) {
if (List[i] === that) {
List.splice(i, 1);
i--; // Decrement to ensure we don't miss next item (lgtm warning)
}
}
}