aiekick / ImCoolBar

A Cool bar for Dear ImGui (MacOs Dock Magnification Effect Like)
MIT License
146 stars 14 forks source link

Disabling the minor vertical jump #5

Open TillWege opened 3 months ago

TillWege commented 3 months ago

I was wondering if it was possible to disable the minor movement in the Y-Axis (in the case of ImCoolBarFlags_Horizontal) that happens on the initial mouse-over and when the bar moves back into its resting state.

https://github.com/aiekick/ImCoolBar/assets/26930463/66f09c43-0355-482c-b95e-1fcf9d3c757b

aiekick commented 3 months ago

hello,

its a bug and im searching a solution.

there is many positions bug on this bar.

you can try to fix it too and propose a pr

aiekick commented 3 months ago

if you specify a small anim_step in the config (by ex 0.01), i not have this jump. can you confirm ?

so maybe its due to the ImGui window autoresize who is made on many frame. maybe for big size change the jump is visible