filecatalog/filebrowser: further speedup

This commit is contained in:
Ingo Weyrich
2019-07-19 00:50:12 +02:00
parent 5f8799d48e
commit 4d2807172c

View File

@@ -53,7 +53,7 @@ void LWButtonSet::getMinimalDimensions (int& w, int& h)
void LWButtonSet::arrangeButtons (int x, int y, int w, int h)
{
if (x == ax && y == ay && w == aw && ((h == -1 && ah == 0) || h == ah )) {
if (x == ax && y == ay && w == aw && (h == -1 || h == ah )) {
return;
}