mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-24 07:21:18 -04:00
Switch display sleep button to ImageButton.
This commit is contained in:
parent
dd6d56cff8
commit
5d4e59271a
2 changed files with 28 additions and 3 deletions
|
@ -53,7 +53,7 @@ SystemStatusView::SystemStatusView() {
|
|||
}
|
||||
};
|
||||
|
||||
button_sleep.on_select = [this](Button&) {
|
||||
button_sleep.on_select = [this](ImageButton&) {
|
||||
DisplaySleepMessage message;
|
||||
EventDispatcher::message_map().send(&message);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue