File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1078,19 +1078,20 @@ async function storePresetLabel(labelData) {
10781078 showAnnotation ( annotJson )
10791079 }
10801080}
1081-
1081+ let spen = { }
1082+ let mtool = { }
10821083let camicOverrides = x => {
10831084 // bypass spen and mttool, otherwise in ../../common/smartpen/autoalign.js
10841085 $CAMIC . viewer . canvasDrawInstance . removeHandler ( 'stop-drawing' , addAnnotaiton ) ;
1085- let spen = { }
1086+
10861087 spen . initcanvas = console . log
10871088 spen . alignR = x => x
1088- let mtool = { }
1089+
10891090 mtool . hash = x => x
10901091 mtool . populate = x => x
10911092 mtool . distance = x => x
1092- let prevLabel = false
10931093}
1094+ let prevLabel = false
10941095
10951096 function startLabeling ( l ) {
10961097 // each time switching label, store prev if applicable.
You can’t perform that action at this time.
0 commit comments