mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 19:00:33 +02:00
fix some buttons remaining visible in the stamp browser while covered up
This commit is contained in:
@@ -246,12 +246,16 @@ void LocalBrowserView::NotifySelectedChanged(LocalBrowserModel * sender)
|
||||
}
|
||||
}
|
||||
|
||||
if(selected.size())
|
||||
if (selected.size())
|
||||
{
|
||||
removeSelected->Visible = true;
|
||||
pageLabel->Visible = pageCountLabel->Visible = pageTextbox->Visible = false;
|
||||
}
|
||||
else
|
||||
else if (removeSelected->Visible)
|
||||
{
|
||||
removeSelected->Visible = false;
|
||||
pageLabel->Visible = pageCountLabel->Visible = pageTextbox->Visible = true;
|
||||
}
|
||||
}
|
||||
|
||||
void LocalBrowserView::OnMouseWheel(int x, int y, int d)
|
||||
|
Reference in New Issue
Block a user