mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-04-10 15:38:10 +00:00
toggle sprouting menu
This commit is contained in:
parent
ec402cd765
commit
52ef663a2c
@ -205,7 +205,11 @@ static inline bool _sprout_menu(float x, float y) {
|
||||
_hide_top_right();
|
||||
|
||||
// maybe show this one
|
||||
if (!menu.topLeftShowing) {
|
||||
if (menu.topLeftShowing) {
|
||||
if (col == 0 && row == 0) {
|
||||
_hide_top_left();
|
||||
}
|
||||
} else {
|
||||
if (col == 0 && row == 0) {
|
||||
_show_top_left();
|
||||
}
|
||||
@ -218,7 +222,11 @@ static inline bool _sprout_menu(float x, float y) {
|
||||
_hide_top_left();
|
||||
|
||||
// maybe show this one
|
||||
if (!menu.topRightShowing) {
|
||||
if (menu.topRightShowing) {
|
||||
if (col == MENU_TEMPLATE_COLS-1 && row == 0) {
|
||||
_hide_top_right();
|
||||
}
|
||||
} else {
|
||||
if (col == MENU_TEMPLATE_COLS-1 && row == 0) {
|
||||
_show_top_right();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user