Use crossfade for button revealers

This commit is contained in:
kramo
2023-05-20 08:29:40 +02:00
parent 0e79f07d72
commit 0715c77c06
2 changed files with 5 additions and 12 deletions

View File

@@ -14,12 +14,12 @@ template $Game : Box {
Overlay {
[overlay]
Box {
halign: start;
Revealer play_revealer {
transition-type: crossfade;
valign: end;
Revealer play_revealer {
transition-type: slide_up;
Box {
halign: start;
valign: end;
Button play_button {
@@ -34,11 +34,6 @@ template $Game : Box {
"osd",
]
}
}
Revealer menu_revealer {
transition-type: slide_up;
valign: end;
MenuButton menu_button {
icon-name: "view-more-symbolic";
@@ -136,4 +131,4 @@ menu hidden_game_options {
action: "app.remove_game";
}
}
}
}