Skip to content

Commit 819127a

Browse files
author
Valentin Hervieu
committed
Fix bubbles positioning when the handleSize is modified.
1 parent 99601ca commit 819127a

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

dist/rzslider.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ rzslider span.rz-pointer.rz-active:after {
108108
}
109109

110110
rzslider span.rz-bubble {
111-
top: -32px;
111+
bottom: 16px;
112112
padding: 1px 3px;
113113
color: #55637d;
114114
cursor: default;

dist/rzslider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ function throttle(func, wait, options) {
891891
*/
892892
updateSelectionBar: function()
893893
{
894-
this.setWidth(this.selBar, Math.abs(this.maxH.rzsl - this.minH.rzsl));
894+
this.setWidth(this.selBar, Math.abs(this.maxH.rzsl - this.minH.rzsl) + this.handleHalfWidth);
895895
this.setLeft(this.selBar, this.range ? this.minH.rzsl + this.handleHalfWidth : 0);
896896
},
897897

dist/rzslider.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)