mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-28 20:29:03 +00:00
Minesweeper: Fix inverted Single-Click Chording setting
This was introduced by 705cee528a
,
where the '!' was copied from the previous implementation, but the
behavior was not
This commit is contained in:
parent
07d4b41bac
commit
e46b4e0865
Notes:
sideshowbarker
2024-07-19 02:21:34 +09:00
Author: https://github.com/petelliott
Commit: e46b4e0865
Pull-request: https://github.com/SerenityOS/serenity/pull/3532
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ int main(int argc, char** argv)
|
||||||
app_menu.add_separator();
|
app_menu.add_separator();
|
||||||
|
|
||||||
auto chord_toggler_action = GUI::Action::create_checkable("Single-click chording", [&](auto& action) {
|
auto chord_toggler_action = GUI::Action::create_checkable("Single-click chording", [&](auto& action) {
|
||||||
field.set_single_chording(!action.is_checked());
|
field.set_single_chording(action.is_checked());
|
||||||
});
|
});
|
||||||
chord_toggler_action->set_checked(field.is_single_chording());
|
chord_toggler_action->set_checked(field.is_single_chording());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue