aboutsummaryrefslogtreecommitdiff
path: root/systems/workspace
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-05-04 16:01:36 +0800
committer魏曹先生 <1992414357@qq.com>2026-05-04 16:01:36 +0800
commitee580ab885b35a95a00496d8629b59d0afdb0974 (patch)
tree9037eeb46123b9eaa1509a3589a6a01a84995434 /systems/workspace
parent934dae69dddffbef6243a138c29979b72830e67f (diff)
Fix dependenciesmain
Diffstat (limited to 'systems/workspace')
-rw-r--r--systems/workspace/src/workspace/manager/sheet_state.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/systems/workspace/src/workspace/manager/sheet_state.rs b/systems/workspace/src/workspace/manager/sheet_state.rs
index eddfa84..cd963db 100644
--- a/systems/workspace/src/workspace/manager/sheet_state.rs
+++ b/systems/workspace/src/workspace/manager/sheet_state.rs
@@ -5,6 +5,7 @@ use asset_system::asset::ReadOnlyAsset;
use constants::workspace::{
dirs::workspace_dir_local_sheets,
files::{workspace_file_current_sheet, workspace_file_sheet},
+ values::workspace_value_current_sheet_file_name,
};
use framework::space::error::SpaceError;
use just_fmt::snake_case;
@@ -88,6 +89,7 @@ impl WorkspaceManager {
if path.is_file()
&& let Some(file_name) = path.file_stem()
&& let Some(name_str) = file_name.to_str()
+ && name_str != workspace_value_current_sheet_file_name()
{
sheet_names.push(name_str.to_string());
}