From 6b8a106414bd2259631ab1442859b732730dcff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Fri, 18 Sep 2026 16:08:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=88=E5=B9=B6=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E6=B5=8B=E8=AF=95=E8=8A=82=E7=82=B9=E6=9E=84=E9=80=A0?= =?UTF-8?q?=20=E8=A1=A5=E9=BD=90=20NodeOffset=20=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E4=BB=A5=E6=81=A2=E5=A4=8D=20Rust=20=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src-tauri/src/ui_editor/commands/merge.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/merge.rs b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/merge.rs index 1b1af1ea2..2e125ee21 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/merge.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/merge.rs @@ -520,7 +520,7 @@ mod tests { }; use crate::ui_editor::layout::children_display_mode::ChildrenDisplayMode; use crate::ui_editor::layout::control_layout::ControlLayout; - use crate::ui_editor::layout::node::{Node, NodeMetadata, NodeSource, StageStatus}; + use crate::ui_editor::layout::node::{Node, NodeMetadata, NodeOffset, NodeSource, StageStatus}; use crate::ui_editor::layout::transform::Transform; use crate::ui_editor::state::{State, UITree}; use crate::ui_editor::utils::{NodeId, UIDesignImageId}; @@ -542,6 +542,7 @@ mod tests { component: None, children_display_mode: ChildrenDisplayMode::Stack, children, + offset: NodeOffset::default(), } }