mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-30 20:51:06 +01:00 
			
		
		
		
	ColorEdit, ColorPicker: Manipulating options popup don't mark item as edited. (#6722)
This commit is contained in:
		| @@ -3940,6 +3940,8 @@ void ImGui::MarkItemEdited(ImGuiID id) | ||||
|     // This marking is solely to be able to provide info for IsItemDeactivatedAfterEdit(). | ||||
|     // ActiveId might have been released by the time we call this (as in the typical press/release button behavior) but still need to fill the data. | ||||
|     ImGuiContext& g = *GImGui; | ||||
|     if (g.LockMarkEdited > 0) | ||||
|         return; | ||||
|     if (g.ActiveId == id || g.ActiveId == 0) | ||||
|     { | ||||
|         g.ActiveIdHasBeenEditedThisFrame = true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user