Fixed clipping issues (still present in MSAA, but should be fixed with Skia AA)

This commit is contained in:
Yousef Khadadeh 2026-04-08 20:42:10 +03:00
parent d709acb094
commit 4b2ecf2fe6
4 changed files with 59 additions and 15 deletions

View file

@ -53,7 +53,7 @@ template <typename T> class NumberSlider : public Element {
canvas->save();
canvas->translate(bb.min.x(), bb.min.y());
float lerpTimeHover = smooth_two_way_time(dd.hoverAnimation, io.deltaTime, mouseHovering, io.theme->hoverExpandTime);
float lerpTimeHover = dd.hoverAnimation / io.theme->hoverExpandTime;
static BezierEasing easeHeight(0.68, -1.55, 0.265, 2.55);