CedricGuillemet / ImGuizmo

Immediate mode 3D gizmo for scene editing and other controls based on Dear Imgui
MIT License
3.22k stars 907 forks source link

ImSequencer: Clicks must start inside button; animate buttons #270

Closed idbrii closed 2 years ago

idbrii commented 2 years ago

Now SequencerAddDelButton behaves like ImGui:Button: requires the click to start inside the button and end inside the button.

When you click a button, expand its size to give feedback that it's pressed.

Bug:

https://user-images.githubusercontent.com/43559/197356263-f66685ff-9da7-4178-bc7d-16b55dce7733.mp4

Fixed:

https://user-images.githubusercontent.com/43559/197356264-9607883f-106f-4ffe-910f-74c9a0ab8321.mp4

Animation:

seq-btn-anim

Test Build imguizmo test app.

CedricGuillemet commented 2 years ago

Thank you!