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