mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	InputText: replaced some uses of SetKeyOwner() + IsKeyPressed() with Shortcut()
Which makes it easier to hook/disable those keys from outside if needed.
This commit is contained in:
		@@ -1283,8 +1283,8 @@ typedef ImS16 ImGuiKeyRoutingIndex;
 | 
			
		||||
struct ImGuiKeyRoutingData
 | 
			
		||||
{
 | 
			
		||||
    ImGuiKeyRoutingIndex            NextEntryIndex;
 | 
			
		||||
    ImU16                           Mods;
 | 
			
		||||
    ImU8                            RoutingNextScore;               // Lower is better (0: perfect score)
 | 
			
		||||
    ImU16                           Mods;               // Technically we'd only need 4 bits but for simplify we store ImGuiMod_ values which need 16 bits.
 | 
			
		||||
    ImU8                            RoutingNextScore;   // Lower is better (0: perfect score)
 | 
			
		||||
    ImGuiID                         RoutingCurr;
 | 
			
		||||
    ImGuiID                         RoutingNext;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user