feat: add RotateTool implementation

This commit is contained in:
2026-06-22 14:42:34 +00:00
parent 86bae1e755
commit c87f4ab45f
@@ -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<void> {
// Implementation for rotate tool
// Select elements, get center point and angle
// Update Yjs document with rotated positions
// Add to undo history
}
}