fix(console): 自定义背景「恢复初始」一并复位网格线开关(回默认开)——补全照片模式遗漏项

This commit is contained in:
Aisland
2026-09-02 18:28:02 +08:00
parent 38a8b4796b
commit 173fd61bda
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -18411,6 +18411,8 @@ function ConsolePane() {
} else {
setPhotoHslState({ h: 0, s: 100, l: 100 });
if (photoId) splitEnv?.console?.setPhotoHsl?.(photoId, { h: 0, s: 100, l: 100 });
setPhotoGridState(true);
splitEnv?.console?.setPhotoGrid?.(true);
}
};
(0, import_react.useLayoutEffect)(() => {