mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 14:30:27 +02:00
Fix minor rendering glitch in PPSSPP's menus on iOS
This commit is contained in:
1 parent
d7de08c4ff
commit
5e501fa9fc
7 files changed
+26
-9
No files matched your search
@@ -1348,9 +1348,9 @@ void ChoiceStrip::Draw(UIContext &dc) {
|
||||
ViewGroup::Draw(dc);
|
||||
if (topTabs_) {
|
||||
if (orientation_ == ORIENT_HORIZONTAL)
|
||||
dc.Draw()->DrawImageStretch(dc.theme->whiteImage, bounds_.x, bounds_.y2() - 4, bounds_.x2(), bounds_.y2(), dc.theme->itemDownStyle.background.color );
|
||||
dc.Draw()->DrawImageCenterTexel(dc.theme->whiteImage, bounds_.x, bounds_.y2() - 4, bounds_.x2(), bounds_.y2(), dc.theme->itemDownStyle.background.color );
|
||||
else if (orientation_ == ORIENT_VERTICAL)
|
||||
dc.Draw()->DrawImageStretch(dc.theme->whiteImage, bounds_.x2() - 4, bounds_.y, bounds_.x2(), bounds_.y2(), dc.theme->itemDownStyle.background.color );
|
||||
dc.Draw()->DrawImageCenterTexel(dc.theme->whiteImage, bounds_.x2() - 4, bounds_.y, bounds_.x2(), bounds_.y2(), dc.theme->itemDownStyle.background.color );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user