Browse Source

Note horizontal splitter

Vijayakrishnan 3 năm trước cách đây
mục cha
commit
91510c5aba
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      public/js/stag-scrollbar.js

+ 1 - 1
public/js/stag-scrollbar.js

@@ -10,7 +10,7 @@
                 'stag-h-scroll-width': scrollWidth,
                 'stag-h-width': width,
             });
-            if($container.offset().top + $container.outerHeight() > $(window).height() + $(window).scrollTop()) {
+            if($container.offset().top + $container.outerHeight() > $(window).height() + $(window).scrollTop() - _bottomThreshold) {
                 stagScrollbarUI.css({
                     display: 'block',
                     left: ($container.offset().left + 4) + 'px',