Fixed clipping issues (still present in MSAA, but should be fixed with Skia AA)
This commit is contained in:
parent
d709acb094
commit
4b2ecf2fe6
4 changed files with 59 additions and 15 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue