Commit 34a52935 authored by christianrhansen's avatar christianrhansen

scroll first, move cell afterwards

parent 9eaf06be
......@@ -544,6 +544,8 @@
}
},
async mobileCellMove (annotation, _x, _y) {
this.$el.scrollLeft = this.$el.scrollLeft + (this.gridDimensions.full.cell.width * _x)
let
parsed = annotation.target.selector.parse(),
sliced = parsed.xywh.slice(0, 4),
......@@ -570,8 +572,6 @@
selector: { value: target.selector.value }
}
}])
this.$el.scrollLeft = this.$el.scrollLeft + (this.gridDimensions.full.cell.width * _x)
},
async mobileCellResize (annotation, _w, _h) {
let
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment