mirror of
https://github.com/PitPik/tinyColorPicker
synced 2025-07-17 15:04:28 -06:00
empty value update
This commit is contained in:
parent
c4c1c7960d
commit
1819bbf6c7
@ -137,7 +137,6 @@
|
|||||||
e.returnValue = false;
|
e.returnValue = false;
|
||||||
|
|
||||||
_$trigger._offset = $(this).offset();
|
_$trigger._offset = $(this).offset();
|
||||||
_$trigger._hasValue = _$trigger[0].hasAttribute('value');
|
|
||||||
(action = action === 'xy_slider' ? xy_slider :
|
(action = action === 'xy_slider' ? xy_slider :
|
||||||
action === 'z_slider' ? z_slider : alpha)(e);
|
action === 'z_slider' ? z_slider : alpha)(e);
|
||||||
|
|
||||||
@ -200,7 +199,7 @@
|
|||||||
v = (1 - colors.hsv.v) * _$xy_slider._height,
|
v = (1 - colors.hsv.v) * _$xy_slider._height,
|
||||||
a = alpha * _$alpha._width,
|
a = alpha * _$alpha._width,
|
||||||
translate3d = _GPU ? 'translate3d' : '',
|
translate3d = _GPU ? 'translate3d' : '',
|
||||||
hasNoValue = _$trigger.hasValue &&
|
hasNoValue = _$trigger[0].hasAttribute('value') &&
|
||||||
_$trigger.val() === '' && toggled !== undefined;
|
_$trigger.val() === '' && toggled !== undefined;
|
||||||
|
|
||||||
_$xy_slider._css = {
|
_$xy_slider._css = {
|
||||||
|
File diff suppressed because one or more lines are too long
2
jqColorPicker.min.js
vendored
2
jqColorPicker.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user