@@ -108,7 +108,7 @@ export class CanvasViewImpl implements CanvasView, Listener {
108
108
} ,
109
109
} ) ,
110
110
) ;
111
- }
111
+ } ;
112
112
113
113
private onError = ( exception : unknown , domain ?: string ) : void => {
114
114
this . canvas . dispatchEvent (
@@ -122,7 +122,7 @@ export class CanvasViewImpl implements CanvasView, Listener {
122
122
} ,
123
123
} ) ,
124
124
) ;
125
- }
125
+ } ;
126
126
127
127
private stateIsLocked ( state : any ) : boolean {
128
128
const { configuration } = this . controller ;
@@ -267,7 +267,7 @@ export class CanvasViewImpl implements CanvasView, Listener {
267
267
enabled : false ,
268
268
} ) ;
269
269
}
270
- }
270
+ } ;
271
271
272
272
private onDrawDone = (
273
273
data : any | null ,
@@ -337,7 +337,7 @@ export class CanvasViewImpl implements CanvasView, Listener {
337
337
// when draw stops from inside canvas (for example if use predefined number of points)
338
338
this . controller . draw ( { enabled : false } ) ;
339
339
}
340
- }
340
+ } ;
341
341
342
342
private onEditStart = ( state ?: any ) : void => {
343
343
this . canvas . style . cursor = 'crosshair' ;
@@ -411,7 +411,7 @@ export class CanvasViewImpl implements CanvasView, Listener {
411
411
412
412
this . controller . merge ( { enabled : false } ) ;
413
413
this . mode = Mode . IDLE ;
414
- }
414
+ } ;
415
415
416
416
private onSplitDone = ( object ?: any , duration ?: number ) : void => {
417
417
if ( object && typeof duration !== 'undefined' ) {
@@ -437,7 +437,7 @@ export class CanvasViewImpl implements CanvasView, Listener {
437
437
438
438
this . controller . split ( { enabled : false } ) ;
439
439
this . mode = Mode . IDLE ;
440
- }
440
+ } ;
441
441
442
442
private onSelectDone = ( objects ?: any [ ] , duration ?: number ) : void => {
443
443
if ( objects && typeof duration !== 'undefined' ) {
@@ -503,7 +503,7 @@ export class CanvasViewImpl implements CanvasView, Listener {
503
503
}
504
504
505
505
this . mode = Mode . IDLE ;
506
- }
506
+ } ;
507
507
508
508
private onSliceDone = ( state ?: any , results ?: number [ ] [ ] , duration ?: number ) : void => {
509
509
if ( state && results && typeof duration !== 'undefined' ) {
@@ -527,7 +527,7 @@ export class CanvasViewImpl implements CanvasView, Listener {
527
527
528
528
this . controller . slice ( { enabled : false } ) ;
529
529
this . mode = Mode . IDLE ;
530
- }
530
+ } ;
531
531
532
532
private onRegionSelected = ( points ?: number [ ] ) : void => {
533
533
if ( points ) {
@@ -551,7 +551,7 @@ export class CanvasViewImpl implements CanvasView, Listener {
551
551
552
552
this . controller . selectRegion ( false ) ;
553
553
this . mode = Mode . IDLE ;
554
- }
554
+ } ;
555
555
556
556
private onFindObject = ( e : MouseEvent ) : void => {
557
557
if ( e . button === 0 ) {
@@ -570,7 +570,7 @@ export class CanvasViewImpl implements CanvasView, Listener {
570
570
this . canvas . dispatchEvent ( event ) ;
571
571
e . preventDefault ( ) ;
572
572
}
573
- }
573
+ } ;
574
574
575
575
private onFocusRegion = ( x : number , y : number , width : number , height : number ) : void => {
576
576
// First of all, compute and apply scale
@@ -616,7 +616,7 @@ export class CanvasViewImpl implements CanvasView, Listener {
616
616
this . controller . geometry = dragged ;
617
617
this . geometry = dragged ;
618
618
this . moveCanvas ( ) ;
619
- }
619
+ } ;
620
620
621
621
private moveCanvas ( ) : void {
622
622
for ( const obj of [ this . background , this . grid , this . bitmap ] ) {
0 commit comments