mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-16 22:42:18 +00:00
Solitaire: Don't allow the player to draw cards while mouse is down
This commit is contained in:
parent
81784afbe1
commit
f583cddaf7
Notes:
sideshowbarker
2024-07-18 07:18:35 +09:00
Author: https://github.com/thisSyntaxSucksAndYouKnowIt 🔰
Commit: f583cddaf7
Pull-request: https://github.com/SerenityOS/serenity/pull/9245
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ void Game::keydown_event(GUI::KeyEvent& event)
|
|||
start_game_over_animation();
|
||||
} else if (event.key() == KeyCode::Key_Tab) {
|
||||
auto_move_eligible_cards_to_foundations();
|
||||
} else if (event.key() == KeyCode::Key_Space) {
|
||||
} else if (event.key() == KeyCode::Key_Space && m_mouse_down != true) {
|
||||
draw_cards();
|
||||
} else if (event.shift() && event.key() == KeyCode::Key_F11) {
|
||||
dump_layout();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue