Commit 4e0d07c1 authored by Rafal Zajac's avatar Rafal Zajac

Fix floor label being hidden on single slider

parent 0fd0156c
...@@ -510,6 +510,8 @@ function throttle(func, wait, options) { ...@@ -510,6 +510,8 @@ function throttle(func, wait, options) {
this.showEl(this.ceilLab); this.showEl(this.ceilLab);
} }
if(this.range)
{
if(this.maxLab.rzsl + this.maxLab.rzsw >= this.ceilLab.rzsl - 10) if(this.maxLab.rzsl + this.maxLab.rzsw >= this.ceilLab.rzsl - 10)
{ {
this.hideEl(this.ceilLab); this.hideEl(this.ceilLab);
...@@ -528,6 +530,7 @@ function throttle(func, wait, options) { ...@@ -528,6 +530,7 @@ function throttle(func, wait, options) {
{ {
this.showEl(this.flrLab); this.showEl(this.flrLab);
} }
}
}, },
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment