feat: add TrimTool implementation
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { Tool } from '../Tool';
|
||||
import { Canvas } from '../../canvas/Canvas';
|
||||
|
||||
export class TrimTool extends Tool {
|
||||
name = 'Trim';
|
||||
icon = 'trim';
|
||||
|
||||
constructor(canvas: Canvas) {
|
||||
super(canvas);
|
||||
}
|
||||
|
||||
async execute(): Promise<void> {
|
||||
// Implementation for trim tool
|
||||
// Select boundary and elements to trim
|
||||
// Update Yjs document with trimmed elements
|
||||
// Add to undo history
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user