mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-03 22:51:06 +01:00 
			
		
		
		
	InputText: Made Shift+Tab consistently do nothing regardless of whether the back-end emits both char and keys or just keys. (#2467, #1336)
This commit is contained in:
		@@ -3455,6 +3455,8 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_
 | 
			
		||||
                {
 | 
			
		||||
                    // Insert character if they pass filtering
 | 
			
		||||
                    unsigned int c = (unsigned int)io.InputQueueCharacters[n];
 | 
			
		||||
                    if (c == '\t' && io.KeyShift)
 | 
			
		||||
                        continue;
 | 
			
		||||
                    if (InputTextFilterCharacter(&c, flags, callback, callback_user_data))
 | 
			
		||||
                        state->OnKeyPressed((int)c);
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user