mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-21 23:10:36 +03:00
version 1.10.2
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
* OverlayScrollbars
|
* OverlayScrollbars
|
||||||
* https://github.com/KingSora/OverlayScrollbars
|
* https://github.com/KingSora/OverlayScrollbars
|
||||||
*
|
*
|
||||||
* Version: 1.10.1
|
* Version: 1.10.2
|
||||||
*
|
*
|
||||||
* Copyright KingSora | Rene Haas.
|
* Copyright KingSora | Rene Haas.
|
||||||
* https://github.com/KingSora
|
* https://github.com/KingSora
|
||||||
|
|||||||
Vendored
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* OverlayScrollbars
|
* OverlayScrollbars
|
||||||
* https://github.com/KingSora/OverlayScrollbars
|
* https://github.com/KingSora/OverlayScrollbars
|
||||||
*
|
*
|
||||||
* Version: 1.10.1
|
* Version: 1.10.2
|
||||||
*
|
*
|
||||||
* Copyright KingSora | Rene Haas.
|
* Copyright KingSora | Rene Haas.
|
||||||
* https://github.com/KingSora
|
* https://github.com/KingSora
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* OverlayScrollbars
|
* OverlayScrollbars
|
||||||
* https://github.com/KingSora/OverlayScrollbars
|
* https://github.com/KingSora/OverlayScrollbars
|
||||||
*
|
*
|
||||||
* Version: 1.10.1
|
* Version: 1.10.2
|
||||||
*
|
*
|
||||||
* Copyright KingSora | Rene Haas.
|
* Copyright KingSora | Rene Haas.
|
||||||
* https://github.com/KingSora
|
* https://github.com/KingSora
|
||||||
@@ -3756,7 +3756,7 @@
|
|||||||
_hostSizeCache = hostSize;
|
_hostSizeCache = hostSize;
|
||||||
|
|
||||||
var hideOverflowForceTextarea = _isTextarea && (_viewportSize.w === 0 || _viewportSize.h === 0);
|
var hideOverflowForceTextarea = _isTextarea && (_viewportSize.w === 0 || _viewportSize.h === 0);
|
||||||
var previousOverflow = _overflowAmountCache;
|
var previousOverflowAmount = _overflowAmountCache;
|
||||||
var overflowBehaviorIsVS = {};
|
var overflowBehaviorIsVS = {};
|
||||||
var overflowBehaviorIsVH = {};
|
var overflowBehaviorIsVH = {};
|
||||||
var overflowBehaviorIsS = {};
|
var overflowBehaviorIsS = {};
|
||||||
@@ -3998,7 +3998,7 @@
|
|||||||
var cursorIsLastPosition = (cursorPos >= cursorMax && _textareaHasFocus);
|
var cursorIsLastPosition = (cursorPos >= cursorMax && _textareaHasFocus);
|
||||||
var textareaScrollAmount = {
|
var textareaScrollAmount = {
|
||||||
x: (!textareaAutoWrapping && (cursorCol === lastCol && cursorRow === widestRow)) ? _overflowAmountCache.x : -1,
|
x: (!textareaAutoWrapping && (cursorCol === lastCol && cursorRow === widestRow)) ? _overflowAmountCache.x : -1,
|
||||||
y: (textareaAutoWrapping ? cursorIsLastPosition || textareaRowsChanged && (previousOverflow !== undefined ? (currScroll.y === previousOverflow.y) : false) : (cursorIsLastPosition || textareaRowsChanged) && cursorRow === lastRow) ? _overflowAmountCache.y : -1
|
y: (textareaAutoWrapping ? cursorIsLastPosition || textareaRowsChanged && (previousOverflowAmount ? (currScroll.y === previousOverflow.y) : false) : (cursorIsLastPosition || textareaRowsChanged) && cursorRow === lastRow) ? _overflowAmountCache.y : -1
|
||||||
};
|
};
|
||||||
currScroll.x = textareaScrollAmount.x > -1 ? (_isRTL && _normalizeRTLCache && _rtlScrollBehavior.i ? 0 : textareaScrollAmount.x) : currScroll.x; //if inverted, scroll to 0 -> normalized this means to max scroll offset.
|
currScroll.x = textareaScrollAmount.x > -1 ? (_isRTL && _normalizeRTLCache && _rtlScrollBehavior.i ? 0 : textareaScrollAmount.x) : currScroll.x; //if inverted, scroll to 0 -> normalized this means to max scroll offset.
|
||||||
currScroll.y = textareaScrollAmount.y > -1 ? textareaScrollAmount.y : currScroll.y;
|
currScroll.y = textareaScrollAmount.y > -1 ? textareaScrollAmount.y : currScroll.y;
|
||||||
|
|||||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@
|
|||||||
* OverlayScrollbars
|
* OverlayScrollbars
|
||||||
* https://github.com/KingSora/OverlayScrollbars
|
* https://github.com/KingSora/OverlayScrollbars
|
||||||
*
|
*
|
||||||
* Version: 1.10.1
|
* Version: 1.10.2
|
||||||
*
|
*
|
||||||
* Copyright KingSora | Rene Haas.
|
* Copyright KingSora | Rene Haas.
|
||||||
* https://github.com/KingSora
|
* https://github.com/KingSora
|
||||||
|
|||||||
Vendored
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* OverlayScrollbars
|
* OverlayScrollbars
|
||||||
* https://github.com/KingSora/OverlayScrollbars
|
* https://github.com/KingSora/OverlayScrollbars
|
||||||
*
|
*
|
||||||
* Version: 1.10.1
|
* Version: 1.10.2
|
||||||
*
|
*
|
||||||
* Copyright KingSora | Rene Haas.
|
* Copyright KingSora | Rene Haas.
|
||||||
* https://github.com/KingSora
|
* https://github.com/KingSora
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "overlayscrollbars",
|
"name": "overlayscrollbars",
|
||||||
"version": "1.10.1",
|
"version": "1.10.2",
|
||||||
"description": "A javascript scrollbar plugin which hides native scrollbars, provides custom styleable overlay scrollbars and keeps the native functionality and feeling.",
|
"description": "A javascript scrollbar plugin which hides native scrollbars, provides custom styleable overlay scrollbars and keeps the native functionality and feeling.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"overlayscrollbars",
|
"overlayscrollbars",
|
||||||
|
|||||||
Reference in New Issue
Block a user