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