We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c92bdb commit 5655dd9Copy full SHA for 5655dd9
apps/labeling/roiMarking.js
@@ -423,6 +423,14 @@ function initCore() {
423
stopLabeling();
424
},
425
426
+ {
427
+ id: 'undo',
428
+ icon: 'undo',
429
+ title: 'undo',
430
+ type: 'btn',
431
+ value: 'undo',
432
+ callback: undoThisPen,
433
+ },
434
// {
435
// id: 'slide_download',
436
// icon: 'file_download',
@@ -1203,6 +1211,10 @@ let prevLabel = false
1203
1211
startLabeling(lymphLabel)
1204
1212
}
1205
1213
1214
+ function undoThisPen(){
1215
+ $CAMIC.viewer.canvasDrawInstance.clear();
1216
+ }
1217
+
1206
1218
// at any point, data is in
1207
1219
1208
1220
0 commit comments