Skip to content

fix (mvSlider3D): fixed thumbgs drag being reset after 1 frame (#2640).#2647

Open
v-ein wants to merge 1 commit intohoffstadt:masterfrom
v-ein:bugfix/2640-slider-3d
Open

fix (mvSlider3D): fixed thumbgs drag being reset after 1 frame (#2640).#2647
v-ein wants to merge 1 commit intohoffstadt:masterfrom
v-ein:bugfix/2640-slider-3d

Conversation

@v-ein
Copy link
Copy Markdown
Collaborator

@v-ein v-ein commented May 2, 2026


name: Pull Request
about: Create a pull request to help us improve
title: fix (mvSlider3D): fixed thumbgs drag being reset after 1 frame (#2640).
assignees: ''


Closes #2640.

Description:

The issue is caused by an old change in ImGui (back in 2022) - see ocornut/imgui#5181. Basically whoever calls ImGui::ButtonBehavior() directly must now use KeepAliveID() or ItemAdd() as well. The fix adds the necessary KeepAliveID() calls.

Concerning Areas:
None.

@v-ein v-ein requested a review from hoffstadt May 2, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3D Slider: thumb dragging is broken

1 participant