Refactor workspace icon handling and improve animation state management

This commit is contained in:
mr. M
2025-01-06 00:46:17 +01:00
parent bb96eb1a8d
commit b9f0d39d1c
4 changed files with 13 additions and 13 deletions

View File

@@ -65,7 +65,7 @@ var gZenCompactModeManager = {
},
flashSidebarIfNecessary(aInstant = false) {
if (!aInstant && this.prefefence && lazyCompactMode.COMPACT_MODE_FLASH_ENABLED && !gZenGlanceManager.animatingOpen) {
if (!aInstant && this.prefefence && lazyCompactMode.COMPACT_MODE_FLASH_ENABLED && !gZenGlanceManager._animating) {
this.flashSidebar();
}
},