Fix overlay layering
This commit is contained in:
@@ -30,33 +30,32 @@ template game : Box {
|
||||
Box {
|
||||
Overlay overlay {
|
||||
[overlay]
|
||||
Revealer button_revealer {
|
||||
Revealer play_revealer {
|
||||
reveal-child: false;
|
||||
transition-type: crossfade;
|
||||
Button button_play {
|
||||
halign: start;
|
||||
label: _("Play");
|
||||
margin-start: 6;
|
||||
margin-end: 6;
|
||||
margin-top: 6;
|
||||
margin-bottom: 6;
|
||||
}
|
||||
}
|
||||
[overlay]
|
||||
Revealer menu_revealer {
|
||||
transition-type: crossfade;
|
||||
MenuButton menu_button {
|
||||
icon-name: "view-more-symbolic";
|
||||
margin-top: 6;
|
||||
margin-bottom: 6;
|
||||
margin-end: 6;
|
||||
margin-start: 6;
|
||||
menu-model: game_options;
|
||||
halign: end;
|
||||
Box {
|
||||
Button button_play {
|
||||
halign: start;
|
||||
label: _("Play");
|
||||
margin-start: 6;
|
||||
margin-end: 6;
|
||||
margin-top: 6;
|
||||
margin-bottom: 6;
|
||||
}
|
||||
MenuButton menu_button {
|
||||
icon-name: "view-more-symbolic";
|
||||
margin-top: 6;
|
||||
margin-bottom: 6;
|
||||
margin-end: 6;
|
||||
margin-start: 6;
|
||||
menu-model: game_options;
|
||||
hexpand: true;
|
||||
halign: end;
|
||||
|
||||
styles [
|
||||
"flat",
|
||||
]
|
||||
styles [
|
||||
"flat",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Revealer title_revealer {
|
||||
|
||||
Reference in New Issue
Block a user