Skip to content

Commit

Permalink
Always show all sections in the menu bar when dragging
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbaird committed Sep 30, 2024
1 parent eac90c1 commit 8816aff
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Ice/Events/EventManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -314,14 +314,9 @@ extension EventManager {
// Notify each overlay panel that a menu bar item is being dragged.
appState.menuBarManager.appearanceManager.setIsDraggingMenuBarItem(true)

// Stop here if using the Ice Bar.
guard !appState.settingsManager.generalSettingsManager.useIceBar else {
return
}

// Show all items, including section dividers.
for section in appState.menuBarManager.sections {
section.show()
section.controlItem.state = .showItems
guard
section.controlItem.isSectionDivider,
!section.controlItem.isVisible
Expand Down

0 comments on commit 8816aff

Please sign in to comment.