mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	Nav: Removed stateful NavMoveFromClampedRefRect and made it more explicit that nav move request from gamepad start from a clipped location.
This commit is contained in:
		| @@ -1204,7 +1204,6 @@ struct ImGuiContext | ||||
|     bool                    NavInitRequestFromMove; | ||||
|     ImGuiID                 NavInitResultId;                    // Init request result (first item of the window, or one for which SetItemDefaultFocus() was called) | ||||
|     ImRect                  NavInitResultRectRel;               // Init request result rectangle (relative to parent window) | ||||
|     bool                    NavMoveFromClampedRefRect;          // Set by manual scrolling, if we scroll to a point where NavId isn't visible we reset navigation from visible items | ||||
|     bool                    NavMoveRequest;                     // Move request for this frame | ||||
|     ImGuiNavMoveFlags       NavMoveRequestFlags; | ||||
|     ImGuiNavForward         NavMoveRequestForward;              // None / ForwardQueued / ForwardActive (this is used to navigate sibling parent menus from a child menu) | ||||
| @@ -1390,7 +1389,6 @@ struct ImGuiContext | ||||
|         NavInitRequest = false; | ||||
|         NavInitRequestFromMove = false; | ||||
|         NavInitResultId = 0; | ||||
|         NavMoveFromClampedRefRect = false; | ||||
|         NavMoveRequest = false; | ||||
|         NavMoveRequestFlags = ImGuiNavMoveFlags_None; | ||||
|         NavMoveRequestForward = ImGuiNavForward_None; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user