mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 18:29:05 +02:00
PauseScreen: Make the savestate numbers more visible by moving them out
This commit is contained in:
1 parent
e711fdb735
commit
24bcc10985
3 files changed
+8
-19
No files matched your search
@@ -95,10 +95,6 @@ void AsyncImageFileView::Draw(UIContext &dc) {
|
||||
dc.Draw()->Rect(bounds_.x, bounds_.y, bounds_.w, bounds_.h, color_);
|
||||
dc.Flush();
|
||||
dc.RebindTexture();
|
||||
if (!text_.empty()) {
|
||||
dc.DrawText(text_, bounds_.centerX() + 1, bounds_.centerY() + 1, 0x80000000, ALIGN_CENTER | FLAG_DYNAMIC_ASCII);
|
||||
dc.DrawText(text_, bounds_.centerX(), bounds_.centerY(), 0xFFFFFFFF, ALIGN_CENTER | FLAG_DYNAMIC_ASCII);
|
||||
}
|
||||
} else {
|
||||
if (!texture_ || texture_->Failed()) {
|
||||
if (!filename_.empty()) {
|
||||
@@ -109,8 +105,5 @@ void AsyncImageFileView::Draw(UIContext &dc) {
|
||||
dc.FillRect(UI::Drawable(0x50202020), GetBounds());
|
||||
}
|
||||
}
|
||||
if (!text_.empty()) {
|
||||
dc.DrawText(text_, bounds_.centerX(), bounds_.centerY(), 0xFFFFFFFF, ALIGN_CENTER | FLAG_DYNAMIC_ASCII);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user