Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2018-09-05 19:46:03 -07:00
parent a8a79712ef
commit dc78aabe1c
2 changed files with 2 additions and 10 deletions

View File

@ -57,6 +57,7 @@
"iron-collapse": "^1.2.1", "iron-collapse": "^1.2.1",
"paper-spinner": "^1.0.0", "paper-spinner": "^1.0.0",
"iron-resizable-behavior": "^1.0.4", "iron-resizable-behavior": "^1.0.4",
"paper-checkbox": "^1.2.0" "paper-checkbox": "^1.2.0",
"webcomponentsjs": "^v1.1.0"
} }
} }

View File

@ -302,15 +302,6 @@
}, },
isThumbInView: function(el) {
var rect = el.getBoundingClientRect(),
height = (window.innerHeight || document.documentElement.clientHeight),
width = (window.innerWidth || document.documentElement.clientWidth);
return ((rect.top <= height) && ((rect.top + rect.height) >= 0) &&
(rect.left <= width) && ((rect.left + rect.width) >= 0));
},
onScroll: function(event) { onScroll: function(event) {
if (this.disableScrolling) { if (this.disableScrolling) {
event.preventDefault(); event.preventDefault();