fix(console): 自定义背景「恢复初始」一并复位网格线开关(回默认开)——补全照片模式遗漏项
This commit is contained in:
@@ -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)(() => {
|
||||
|
||||
@@ -1828,6 +1828,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)
|
||||
}
|
||||
}
|
||||
useLayoutEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user