Compare commits
1 Commits
master
...
fix_ruler_
Author | SHA1 | Date |
---|---|---|
|
31eabe1247 |
|
@ -164,7 +164,11 @@ export default {
|
||||||
const drawFn = throttle(this.$_draw, 10)
|
const drawFn = throttle(this.$_draw, 10)
|
||||||
const scroller = new Scroller(
|
const scroller = new Scroller(
|
||||||
left => {
|
left => {
|
||||||
this.isInitialed && drawFn(left)
|
if (this.isInitialed) {
|
||||||
|
drawFn(left)
|
||||||
|
} else {
|
||||||
|
this.$_draw(left)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
scrollingX: true,
|
scrollingX: true,
|
||||||
|
|
Loading…
Reference in New Issue