Skip to content

Commit 7ede75b

Browse files
authored
Merge pull request #754 from jonobr1/746-zui-reset
ZUI: Reset triggers updateSurface
2 parents c688239 + ff8b001 commit 7ede75b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

extras/js/zui.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@
216216
this.zoom = 0;
217217
this.scale = 1.0;
218218
this.surfaceMatrix.identity();
219+
this.updateSurface();
219220
return this;
220221
}
221222

extras/jsm/zui.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ export class ZUI {
288288
this.zoom = 0;
289289
this.scale = 1.0;
290290
this.surfaceMatrix.identity();
291+
this.updateSurface();
291292
return this;
292293
}
293294

0 commit comments

Comments
 (0)