File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -354,8 +354,8 @@ export class BlockSvg
354354 * @returns Object with .x and .y properties in workspace coordinates.
355355 */
356356 override getRelativeToSurfaceXY ( ) : Coordinate {
357- const layerManger = this . workspace . getLayerManager ( ) ;
358- if ( ! layerManger ) {
357+ const layerManager = this . workspace . getLayerManager ( ) ;
358+ if ( ! layerManager ) {
359359 throw new Error (
360360 'Cannot calculate position because the workspace has not been appended' ,
361361 ) ;
@@ -371,7 +371,7 @@ export class BlockSvg
371371 x += xy . x ;
372372 y += xy . y ;
373373 element = element . parentNode as SVGElement ;
374- } while ( element && ! layerManger . hasLayer ( element ) ) ;
374+ } while ( element && ! layerManager . hasLayer ( element ) ) ;
375375 }
376376 return new Coordinate ( x , y ) ;
377377 }
You can’t perform that action at this time.
0 commit comments