Fix: Prevent held down keys from doing repeated actions

This commit is contained in:
Luc Mcgrady 2025-11-30 20:35:50 +00:00
parent c6a1e1d16c
commit cd45436ec2
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C

View file

@ -354,6 +354,9 @@ export class ReviewerState {
}
onKeyDown(e: KeyboardEvent) {
if (e.repeat) {
return;
}
this.handleKeyPress(e.key, e.ctrlKey, e.shiftKey);
}