- 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
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user