Fix zoom percent reading

This commit is contained in:
BoykoAlex
2019-11-25 11:32:02 -05:00
parent 5a242f36ee
commit 46e5979fc9

View File

@@ -825,7 +825,7 @@ export class EditorComponent implements OnInit, OnDestroy {
}
get zoomPercent(): number {
return Math.round(joint.V(this.paper.viewport).scale().sx * 100);
return Math.round(this.paper.scale().sx * 100);
}
set zoomPercent(percent: number) {