mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	fix(frontend): ホットキーのレートリミットがallowRepeatを考慮しない問題を修正 (#14192)
This commit is contained in:
		
							parent
							
								
									1b175ea759
								
							
						
					
					
						commit
						bcc92d546f
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -114,6 +114,7 @@ const matchPatterns = (ev: KeyboardEvent, action: Action) => {
 | 
			
		|||
	const key = ev.key.toLowerCase();
 | 
			
		||||
	return patterns.some(({ which, ctrl, shift, alt }) => {
 | 
			
		||||
		if (
 | 
			
		||||
			options.allowRepeat === false &&
 | 
			
		||||
			latestHotkey != null &&
 | 
			
		||||
			latestHotkey.which.includes(key) &&
 | 
			
		||||
			latestHotkey.ctrl === ctrl &&
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue