mirror of
https://github.com/PitPik/tinyColorPicker
synced 2025-08-02 06:44:28 -06:00
positioning correction
This commit is contained in:
parent
2ac2982f25
commit
e8e2874588
@ -77,12 +77,11 @@
|
|||||||
'left': !(_$UI[0]._right = position.left + _$UI[0]._width >
|
'left': !(_$UI[0]._right = position.left + _$UI[0]._width >
|
||||||
$window.scrollLeft() + $window.width() ? 4 : '') ?
|
$window.scrollLeft() + $window.width() ? 4 : '') ?
|
||||||
position.left : '',
|
position.left : '',
|
||||||
'top': !(_$UI[0]._bottom = position.top + $this.outerHeight() +
|
|
||||||
_$UI[0]._height > $window.scrollTop() + $window.height() ?
|
|
||||||
-$window.scrollTop() + 4 : '') ?
|
|
||||||
position.top + $this.outerHeight() : '',
|
|
||||||
'right': _$UI[0]._right,
|
'right': _$UI[0]._right,
|
||||||
'bottom': _$UI[0]._bottom
|
'top': (_$UI[0]._top = position.top + $this.outerHeight()) -
|
||||||
|
((_$UI[0]._top = _$UI[0]._top + _$UI[0]._height -
|
||||||
|
($window.scrollTop() + $window.height())) > 0 ?
|
||||||
|
_$UI[0]._top + 8 : 0)
|
||||||
}).show(_options.animationSpeed, function() {
|
}).show(_options.animationSpeed, function() {
|
||||||
_$alpha._width = _$alpha.width();
|
_$alpha._width = _$alpha.width();
|
||||||
_$xy_slider._width = _$xy_slider.width();
|
_$xy_slider._width = _$xy_slider.width();
|
||||||
|
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