Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Commit 39000f4

Browse files
author
DEWITTE Pierre-Alban
committed
[Clear] Clearing canvas before send the clear command to server
1 parent b0b05ad commit 39000f4

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

dist/myscript.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14310,10 +14310,9 @@ MyScript = {
1431014310
InkPaper.prototype.clear = function () {
1431114311
this._components = [];
1431214312
this._redoComponents = [];
14313-
14313+
this._initRenderingCanvas();
1431414314
this._clearRESTRecognition(this._instanceId);
1431514315

14316-
this._initRenderingCanvas();
1431714316
this._onChange();
1431814317

1431914318
if (this._selectedRecognizer instanceof scope.AbstractWSRecognizer) {

0 commit comments

Comments
 (0)