mirror of
https://github.com/clangen/musikcube.git
synced 2025-02-20 18:41:03 +00:00
Fix bug where sometimes navigating to directory browse would not correctly hightlight the "browse" button in the shortcuts bar
This commit is contained in:
parent
6fd0c537b4
commit
6914702131
@ -279,7 +279,9 @@ void LibraryLayout::UpdateShortcutsWindow() {
|
||||
if (this->shortcuts->IsFocused() && this->visibleLayout) {
|
||||
this->visibleLayout->SetFocus(IWindowPtr());
|
||||
}
|
||||
if (this->visibleLayout == this->browseLayout) {
|
||||
if (this->visibleLayout == this->browseLayout ||
|
||||
this->visibleLayout == this->directoryLayout)
|
||||
{
|
||||
this->shortcuts->SetActive(Hotkeys::Get(Hotkeys::NavigateLibraryBrowse));
|
||||
}
|
||||
else if (this->visibleLayout == nowPlayingLayout) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user