Skip to content

Commit c604f8b

Browse files
committed
[desktop] avoid keyboard repetition
1 parent 8cd7424 commit c604f8b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

platforms/desktop-shared/application.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,9 @@ static void sdl_events_emu(const SDL_Event* event)
649649

650650
case SDL_KEYDOWN:
651651
{
652+
if (event->key.repeat != 0)
653+
break;
654+
652655
if (event->key.keysym.mod & KMOD_CTRL)
653656
break;
654657

0 commit comments

Comments
 (0)