mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-30 20:51:06 +01:00 
			
		
		
		
	Fixed clicking on a window's void while staying still overzealously marking .ini settings as dirty (#923)
This commit is contained in:
		| @@ -2220,7 +2220,7 @@ void ImGui::NewFrame() | ||||
|             if (!(g.MovedWindow->Flags & ImGuiWindowFlags_NoMove)) | ||||
|             { | ||||
|                 g.MovedWindow->PosFloat += g.IO.MouseDelta; | ||||
|                 if (!(g.MovedWindow->Flags & ImGuiWindowFlags_NoSavedSettings)) | ||||
|                 if (!(g.MovedWindow->Flags & ImGuiWindowFlags_NoSavedSettings) && (g.IO.MouseDelta.x != 0.0f || g.IO.MouseDelta.y != 0.0f)) | ||||
|                     MarkSettingsDirty(); | ||||
|             } | ||||
|             FocusWindow(g.MovedWindow); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user