feat: add MoveTool implementation

This commit is contained in:
2026-06-22 14:42:24 +00:00
parent 08114b6208
commit 6823347002
@@ -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<void> {
// Implementation for move tool
// Select elements, get base point and target point
// Update Yjs document with new positions
// Add to undo history
}
}