mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-27 13:11:46 +03: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: https://github.com/SerenityOS/serenity/commit/f583cddaf7c Pull-request: https://github.com/SerenityOS/serenity/pull/9245
@ -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…
Reference in New Issue
Block a user