mirror of
https://github.com/PitPik/tinyColorPicker
synced 2025-08-11 19:22:45 -06:00
fixed xy / z_slider mixup in preRender
This commit is contained in:
parent
21cdb7118f
commit
7204cad5f4
@ -206,9 +206,9 @@
|
||||
colorText = _color.toString(_$trigger._colorMode, _options.forceAlpha),
|
||||
HUEContrast = colors.HUELuminance > 0.22 ? dark : light,
|
||||
alphaContrast = colors.rgbaMixBlack.luminance > 0.22 ? dark : light,
|
||||
h = (1 - colors.hsv.h) * _$xy_slider._height,
|
||||
h = (1 - colors.hsv.h) * _$z_slider._height,
|
||||
s = colors.hsv.s * _$xy_slider._width,
|
||||
v = (1 - colors.hsv.v) * _$z_slider._height,
|
||||
v = (1 - colors.hsv.v) * _$xy_slider._height,
|
||||
a = colors.alpha * _$alpha._width,
|
||||
translate3d = _GPU ? 'translate3d' : '',
|
||||
triggerValue = _$trigger[0].value,
|
||||
|
File diff suppressed because one or more lines are too long
4
jqColorPicker.min.js
vendored
4
jqColorPicker.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user