Skip to content

Commit

Permalink
#5831: Sanitise the scroll position after entering a search term, it …
Browse files Browse the repository at this point in the history
…might be too large and be hiding the remaining visible tiles.
  • Loading branch information
codereader committed Feb 27, 2022
1 parent 1e1dccd commit 9fe7150
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions radiant/ui/texturebrowser/TextureBrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ void TextureBrowser::performUpdate()
});

updateScroll();
clampOriginY(); // scroll value might be out of range after the update
}

void TextureBrowser::onActiveShadersChanged()
Expand Down

0 comments on commit 9fe7150

Please sign in to comment.