mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 11:24:27 +01:00
UI: Make PopupScreens animate in just a bit.
This commit is contained in:
1 parent
9c15efaa85
commit
efbfdbb4a7
6 files changed
+55
-2
No files matched your search
@@ -118,8 +118,8 @@ void ViewGroup::Axis(const AxisInput &input) {
|
||||
void ViewGroup::Draw(UIContext &dc) {
|
||||
if (hasDropShadow_) {
|
||||
// Darken things behind.
|
||||
dc.FillRect(UI::Drawable(0x60000000), dc.GetBounds());
|
||||
float dropsize = 30;
|
||||
dc.FillRect(UI::Drawable(0x60000000), dc.GetBounds().Expand(dropShadowExpand_));
|
||||
float dropsize = 30.0f;
|
||||
dc.Draw()->DrawImage4Grid(dc.theme->dropShadow4Grid,
|
||||
bounds_.x - dropsize, bounds_.y,
|
||||
bounds_.x2() + dropsize, bounds_.y2()+dropsize*1.5, 0xDF000000, 3.0f);
|
||||
|
||||
Reference in new issue
Block a user