mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-12 01:38:54 +00:00
Build 24: equal-size buttons in the release-username confirm gate
"Keep it" used big_action_on_card (56px / 17px) while "Release it" used big_action_on_card_ink (44px / 15px), so the two confirm buttons were visibly different sizes. Both now render with big_action_on_card_ink at the intended 44px (matching the layout's scope), differing only in text color.
This commit is contained in:
@@ -2452,7 +2452,9 @@ impl GoblinWalletView {
|
||||
Vec2::new(half, 44.0),
|
||||
)),
|
||||
|ui| {
|
||||
if w::big_action_on_card(ui, "Keep it").clicked() {
|
||||
if w::big_action_on_card_ink(ui, "Keep it", t.surface_text)
|
||||
.clicked()
|
||||
{
|
||||
claim.confirm_release = false;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user