mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	InputText: renamed ImGuiInputTextFlags_AlwaysInsertMode to ImGuiInputTextFlags_AlwaysOverwrite. (#2863)
This commit is contained in:
		| @@ -3980,8 +3980,8 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ | ||||
|             if (!is_multiline && focus_requested_by_code) | ||||
|                 select_all = true; | ||||
|         } | ||||
|         if (flags & ImGuiInputTextFlags_AlwaysInsertMode) | ||||
|             state->Stb.insert_mode = 1; | ||||
|         if (flags & ImGuiInputTextFlags_AlwaysOverwrite) | ||||
|             state->Stb.insert_mode = 1; // stb field name is indeed incorrect (see #2863) | ||||
|         if (!is_multiline && (focus_requested_by_tab || (user_clicked && io.KeyCtrl))) | ||||
|             select_all = true; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user