mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
UI tweaks
This commit is contained in:
1 parent
1c753e4a22
commit
e30d079fb5
2 files changed
+10
-12
No files matched your search
@@ -803,6 +803,10 @@ void TextView::Draw(UIContext &dc) {
|
||||
dc.DrawTextRect(text_.c_str(), bounds_.Offset(1.0f, 1.0f), shadowColor, textAlign_);
|
||||
}
|
||||
dc.DrawTextRect(text_.c_str(), bounds_, textColor, textAlign_);
|
||||
if (small_) {
|
||||
// If we changed font style, reset it.
|
||||
dc.SetFontStyle(dc.theme->uiFont);
|
||||
}
|
||||
if (clip) {
|
||||
dc.PopScissor();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user