mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-10-26 12:27:30 +00:00 
			
		
		
		
	Nav: Fixed a bug where the initial CTRL-Tab press while in a child window sometimes selected the current root window instead of always selecting the previous root window. (#787)
This commit is contained in:
		| @@ -68,6 +68,8 @@ Other Changes: | |||||||
|  |  | ||||||
| - Inputs: Added ImGuiMouseButton enum for convenience (e.g. ImGuiMouseButton_Right=1). | - Inputs: Added ImGuiMouseButton enum for convenience (e.g. ImGuiMouseButton_Right=1). | ||||||
|   We forever guarantee that the existing value will not changes so existing code is free to use 0/1/2. |   We forever guarantee that the existing value will not changes so existing code is free to use 0/1/2. | ||||||
|  | - Nav: Fixed a bug where the initial CTRL-Tab press while in a child window sometimes selected | ||||||
|  |   the current root window instead of always selecting the previous root window. (#787) | ||||||
| - ColorEdit: Fix label alignment when using ImGuiColorEditFlags_NoInputs. (#2955) [@rokups] | - ColorEdit: Fix label alignment when using ImGuiColorEditFlags_NoInputs. (#2955) [@rokups] | ||||||
| - ColorEdit: In HSV display of a RGB stored value, attempt to locally preserve Saturation | - ColorEdit: In HSV display of a RGB stored value, attempt to locally preserve Saturation | ||||||
|   when Value==0.0 (similar to changes done in 1.73 for Hue). Removed Hue editing lock since |   when Value==0.0 (similar to changes done in 1.73 for Hue). Removed Hue editing lock since | ||||||
|   | |||||||
| @@ -8766,7 +8766,7 @@ static void ImGui::NavUpdateWindowing() | |||||||
|     if (start_windowing_with_gamepad || start_windowing_with_keyboard) |     if (start_windowing_with_gamepad || start_windowing_with_keyboard) | ||||||
|         if (ImGuiWindow* window = g.NavWindow ? g.NavWindow : FindWindowNavFocusable(g.WindowsFocusOrder.Size - 1, -INT_MAX, -1)) |         if (ImGuiWindow* window = g.NavWindow ? g.NavWindow : FindWindowNavFocusable(g.WindowsFocusOrder.Size - 1, -INT_MAX, -1)) | ||||||
|         { |         { | ||||||
|             g.NavWindowingTarget = g.NavWindowingTargetAnim = window; |             g.NavWindowingTarget = g.NavWindowingTargetAnim = window->RootWindow; // FIXME-DOCK: Will need to use RootWindowDockStop | ||||||
|             g.NavWindowingTimer = g.NavWindowingHighlightAlpha = 0.0f; |             g.NavWindowingTimer = g.NavWindowingHighlightAlpha = 0.0f; | ||||||
|             g.NavWindowingToggleLayer = start_windowing_with_keyboard ? false : true; |             g.NavWindowingToggleLayer = start_windowing_with_keyboard ? false : true; | ||||||
|             g.NavInputSource = start_windowing_with_keyboard ? ImGuiInputSource_NavKeyboard : ImGuiInputSource_NavGamepad; |             g.NavInputSource = start_windowing_with_keyboard ? ImGuiInputSource_NavKeyboard : ImGuiInputSource_NavGamepad; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 omar
					omar