eythaann / Seelen-UI

The Fully Customizable Desktop Environment for Windows 10/11.
Other
4.14k stars 113 forks source link

Improve animation quality. #257

Closed luriusTM closed 1 month ago

luriusTM commented 1 month ago

Changed:

eythaann commented 1 month ago

300ms is too slow, the change needed here is implement a capture of mouse position. this is not priority and I have to search a lightweight version of it, like it was before but I removed it cuz when the laptop was on low power, or eco mode the dock becomes soo lagy while capturing the mouse and making operations, The last time I forgot add a fps limit, so currently on collitions boxed I use 15fps for mouse, so maybe this could work fine without make lagy the dock, speed is preferred over "smoothness" so the current one is fine like users normally move the mouse fast not slowly.

eythaann commented 1 month ago

the best solution in cons the last one could be only capture de mouse position on js and exposed like css variables and make the animation via css and not using js.

luriusTM commented 1 month ago

I do not agree, just for this animation I would not make such amount of work. If you look on refered issue thread, there is a preview of this solution. I think it is gone smooth and nothing js magic needed. just minor animation property set and extension of selectors.

Although, as you think, i do not have major problem with the current animation by myself :)