aboutsummaryrefslogtreecommitdiff
path: root/src/content/scrolls.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-05-01 11:04:24 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-05-02 22:07:53 +0900
commit678020a3a27713e77ec8d74483122b4258fbc829 (patch)
tree6c84d0965f05918e6fd58a0a155c15035474d563 /src/content/scrolls.ts
parent0cffb09e249832291be73be039dc1b9bb38115f9 (diff)
Types on src/background
Diffstat (limited to 'src/content/scrolls.ts')
-rw-r--r--src/content/scrolls.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/content/scrolls.ts b/src/content/scrolls.ts
index f3124a1..bbf2491 100644
--- a/src/content/scrolls.ts
+++ b/src/content/scrolls.ts
@@ -90,16 +90,6 @@ class Scroller {
}
}
-class RoughtScroller {
- constructor(element) {
- this.element = element;
- }
-
- scroll(x, y) {
- this.element.scrollTo(x, y);
- }
-}
-
const getScroll = () => {
let target = scrollTarget();
return { x: target.scrollLeft, y: target.scrollTop };