mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-03 22:51:06 +01:00 
			
		
		
		
	Internals: Columns: Tweaks, renaming. Metrics: Show rectangles for child windows.
Renamed SameLine() first parameter.
This commit is contained in:
		@@ -299,7 +299,8 @@ void ImGui::TextWrapped(const char* fmt, ...)
 | 
			
		||||
 | 
			
		||||
void ImGui::TextWrappedV(const char* fmt, va_list args)
 | 
			
		||||
{
 | 
			
		||||
    bool need_backup = (GImGui->CurrentWindow->DC.TextWrapPos < 0.0f);  // Keep existing wrap position if one is already set
 | 
			
		||||
    ImGuiWindow* window = GetCurrentWindow();
 | 
			
		||||
    bool need_backup = (window->DC.TextWrapPos < 0.0f);  // Keep existing wrap position if one is already set
 | 
			
		||||
    if (need_backup)
 | 
			
		||||
        PushTextWrapPos(0.0f);
 | 
			
		||||
    TextV(fmt, args);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user