mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨
This commit is contained in:
@@ -527,7 +527,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:
|
||||
window.siyuan.mobile.editor.protyle.background.render(window.siyuan.mobile.editor.protyle.background.ial, window.siyuan.mobile.editor.protyle.block.rootID);
|
||||
}
|
||||
/// #else
|
||||
if (protyle.background.ial.icon !== data.new.icon) {
|
||||
if (protyle.background && protyle.background.ial.icon !== data.new.icon) {
|
||||
protyle.background.ial.icon = data.new.icon;
|
||||
protyle.background.render(protyle.background.ial, protyle.block.rootID);
|
||||
protyle.model?.parent.setDocIcon(data.new.icon);
|
||||
|
||||
Reference in New Issue
Block a user