mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-23 06:14:13 -04:00
only inv or fakebrightness (#2240)
This commit is contained in:
parent
31c844b48e
commit
1f78646054
5 changed files with 14 additions and 19 deletions
|
@ -798,6 +798,13 @@ SetDisplayView::SetDisplayView(NavigationView& nav) {
|
|||
send_system_refresh();
|
||||
nav.pop();
|
||||
};
|
||||
// only enable invert OR fake brightness
|
||||
checkbox_invert_switch.on_select = [this](Checkbox&, bool v) {
|
||||
if (v) checkbox_brightness_switch.set_value(false);
|
||||
};
|
||||
checkbox_brightness_switch.on_select = [this](Checkbox&, bool v) {
|
||||
if (v) checkbox_invert_switch.set_value(false);
|
||||
};
|
||||
|
||||
button_cancel.on_select = [&nav, this](Button&) {
|
||||
nav.pop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue