Skip to content

Commit f6dde9d

Browse files
committed
fix formatting
1 parent 720541e commit f6dde9d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/actions/mover.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export class Mover {
128128
// Set up a blur listener to end the move if the user clicks away
129129
const blurListener = () => {
130130
this.finishMove(workspace);
131-
}
131+
};
132132
// Record that a move is in progress and start dragging.
133133
workspace.setKeyboardMoveInProgress(true);
134134
const info = new MoveInfo(block, dragger, blurListener);
@@ -139,7 +139,7 @@ export class Mover {
139139
// In case the block is detached, ensure that it still retains focus
140140
// (otherwise dragging will break).
141141
getFocusManager().focusNode(block);
142-
block.getFocusableElement().addEventListener('blur', blurListener)
142+
block.getFocusableElement().addEventListener('blur', blurListener);
143143
return true;
144144
}
145145

@@ -158,7 +158,9 @@ export class Mover {
158158
if (!info) throw new Error('no move info for workspace');
159159

160160
// Remove the blur listener before ending the drag
161-
info.block.getFocusableElement().removeEventListener('blur', info.blurListener);
161+
info.block
162+
.getFocusableElement()
163+
.removeEventListener('blur', info.blurListener);
162164

163165
info.dragger.onDragEnd(
164166
info.fakePointerEvent('pointerup'),

0 commit comments

Comments
 (0)