mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-10 03:51:25 +00:00
added z index to scene state
This commit is contained in:
1 parent
81f5797e2f
commit
727246b90f
1 file changed
+2
@@ -1035,6 +1035,8 @@ export const useSceneStore = create<SceneState>((set, get) => ({
|
||||
scaleY: node.scaleY || 1,
|
||||
offsetX: node.offsetX || 0,
|
||||
offsetY: node.offsetY || 0,
|
||||
zIndex: node.zIndex || 0,
|
||||
locked: node.locked || false,
|
||||
};
|
||||
|
||||
// Convert imageFile to base64 if it exists
|
||||
|
||||
Reference in new issue
Block a user