Remove the title from the "Rotation" popup button. Fixes #17201

This commit is contained in:
Henrik Rydgård committed 2024-07-19 09:55:22 +02:00
1 parent 7c817f3ecd
commit d7d37e58d4
4 files changed
+8 -3

No files matched your search

+1 -1
View File
@@ -506,7 +506,7 @@ void Choice::Draw(UIContext &dc) {
if (image_.isValid() && text_.empty()) {
dc.Draw()->DrawImageRotated(image_, bounds_.centerX(), bounds_.centerY(), imgScale_, imgRot_, style.fgColor, imgFlipH_);
} else if (!text_.empty()) {
} else if (!text_.empty() && !hideTitle_) {
dc.SetFontStyle(dc.theme->uiFont);
int paddingX = 12;