1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:18:11 +00:00

Applications: Add new keyboard shortcuts & update few existing ones

This commit is contained in:
Jami Kettunen 2020-01-01 01:55:36 +02:00 committed by Andreas Kling
parent 7f15604f72
commit cece0d230d
7 changed files with 18 additions and 18 deletions

View file

@ -33,7 +33,7 @@ int main(int argc, char** argv)
player->manager().play();
}
auto hide_scope = GAction::create("Hide scope", [&](GAction& action) {
auto hide_scope = GAction::create("Hide scope", { Mod_Ctrl, Key_H }, [&](GAction& action) {
action.set_checked(!action.is_checked());
player->hide_scope(action.is_checked());
});