chore: check focused only on pressed event
							parent
							
								
									c1d73de3b5
								
							
						
					
					
						commit
						a04aa7fd22
					
				| 
						 | 
				
			
			@ -49,7 +49,7 @@ namespace SkyHook
 | 
			
		|||
 | 
			
		||||
        private void HookCallback(SkyHookEvent ev)
 | 
			
		||||
        {
 | 
			
		||||
            if (requireFocus && !IsFocused)
 | 
			
		||||
            if (requireFocus && !IsFocused && ev.Type == EventType.KeyPressed)
 | 
			
		||||
            {
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in New Issue