From 915006c98f4f05822d3d527d5585571d6feea6e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 12 Sep 2026 10:23:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E7=BB=91=E5=AE=9A=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E6=96=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在区域归一化边界转换 typed error 为展示文案 --- .../src-tauri/src/ui_editor/commands/separation/area.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/area.rs b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/area.rs index 9685a0884..d861884d8 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/area.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/area.rs @@ -262,7 +262,7 @@ pub(crate) fn normalize_binding_area( original_area.width_px, original_area.height_px ); - return Err(error); + return Err(error.to_string()); } let original = Rect::from_area(original_area); let directions = Edge::ALL.map(|edge| edge_direction(image, original, edge));