diff --git a/frontend/src/tools/modification/MoveTool.ts b/frontend/src/tools/modification/MoveTool.ts new file mode 100644 index 0000000..4418e8c --- /dev/null +++ b/frontend/src/tools/modification/MoveTool.ts @@ -0,0 +1,18 @@ +import { Tool } from '../Tool'; +import { Canvas } from '../../canvas/Canvas'; + +export class MoveTool extends Tool { + name = 'Move'; + icon = 'move'; + + constructor(canvas: Canvas) { + super(canvas); + } + + async execute(): Promise { + // Implementation for move tool + // Select elements, get base point and target point + // Update Yjs document with new positions + // Add to undo history + } +} \ No newline at end of file