@wildebeest/scroll
Advanced tools
Comparing version 0.3.11 to 0.3.12
@@ -51,2 +51,3 @@ "use strict"; | ||
}); | ||
_this.updateView(position); | ||
}); | ||
@@ -64,3 +65,2 @@ var scrollMark = this.getBar().getMark(); | ||
}); | ||
this.scrollBar.getEmitter().on('wbScroll', this.updateView.bind(this)); | ||
this.recalc(); | ||
@@ -67,0 +67,0 @@ }; |
{ | ||
"name": "@wildebeest/scroll", | ||
"version": "0.3.11", | ||
"version": "0.3.12", | ||
"description": "Scroll element with custom scroll bar", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -55,2 +55,3 @@ import { DomService, EmitterService, Emitter } from "@wildebeest/common"; | ||
}); | ||
this.updateView(position); | ||
}); | ||
@@ -70,6 +71,4 @@ | ||
this.scrollBar.scrollBy(this.normalizeRemaining(event.vertical)); | ||
}) | ||
}); | ||
this.scrollBar.getEmitter().on('wbScroll', this.updateView.bind(this)); | ||
this.recalc(); | ||
@@ -76,0 +75,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53961