Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/actions/mover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,10 @@ export class Mover {
const info = this.moves.get(workspace);
if (!info) throw new Error('no move info for workspace');

if (info.draggable instanceof comments.RenderedWorkspaceComment) {
return this.moveUnconstrained(workspace, direction);
}

info.dragger.onDrag(
info.fakePointerEvent('pointermove', direction),
info.totalDelta.clone().scale(workspace.scale),
Expand Down