create editor canvas toolbar

This commit is contained in:
hamid zarghami
2026-05-06 11:17:35 +03:30
parent 1518e83c1d
commit e15dc76468
9 changed files with 353 additions and 9 deletions
@@ -142,6 +142,7 @@ export const useTransformHandlers = (
};
const handleTransformEnd = () => {
useEditorStore.getState().commitObjectHistoryBeforeChange();
const nodes = transformer.nodes();
if (nodes.length === 0) return;