fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
		
							parent
							
								
									00867276ed
								
							
						
					
					
						commit
						1291c840b9
					
				| @ -362,6 +362,7 @@ pub fn event_to_key_event(event: &Event, lock_modes: Option<i32>) -> Option<KeyE | |||||||
|         } |         } | ||||||
|     }; |     }; | ||||||
|     if let Some(lock_modes) = lock_modes { |     if let Some(lock_modes) = lock_modes { | ||||||
|  |         #[cfg(not(any(target_os = "android", target_os = "ios")))] | ||||||
|         add_numlock_capslock_with_lock_modes(&mut key_event, lock_modes); |         add_numlock_capslock_with_lock_modes(&mut key_event, lock_modes); | ||||||
|     } else { |     } else { | ||||||
|         #[cfg(not(any(target_os = "android", target_os = "ios")))] |         #[cfg(not(any(target_os = "android", target_os = "ios")))] | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user