mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-01 12:27:41 +08:00
Fix: The button for toggling the left pane visibility in the launcher was initially not visible on startup
This commit is contained in:
parent
3cf27026b2
commit
7e64e31dfe
@ -32,10 +32,8 @@ export default class LeftPaneToggleWidget extends CommandButtonWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
refreshIcon() {
|
refreshIcon() {
|
||||||
if (document.hasFocus() || this.currentLeftPaneVisible === true) {
|
super.refreshIcon();
|
||||||
super.refreshIcon();
|
splitService.setupLeftPaneResizer(this.currentLeftPaneVisible);
|
||||||
splitService.setupLeftPaneResizer(this.currentLeftPaneVisible);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
entitiesReloadedEvent({ loadResults }: EventData<"entitiesReloaded">) {
|
entitiesReloadedEvent({ loadResults }: EventData<"entitiesReloaded">) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user