From efe8ae1933f74a0f37e22110eaa1e5dca99463cd Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 23 May 2021 18:24:55 +0200 Subject: no loop begin/end wobble --- pages/editor.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pages') diff --git a/pages/editor.tsx b/pages/editor.tsx index 2a1dbef..9bf8391 100644 --- a/pages/editor.tsx +++ b/pages/editor.tsx @@ -92,7 +92,7 @@ function TimelineKeyframe(props: {
{props.slide.type == 'loop' ?
@@ -182,7 +182,7 @@ function TimelineEditor(props: { } if (drawFrame) { - ctx.fillRect(rect[0], rect[1], rect[2], rect[3]); + ctx.fillRect(Math.round(rect[0]), Math.round(rect[1]), Math.round(rect[2]), Math.round(rect[3])); if (marker) { var frame = Math.round(x / frameWidth + offset / frameWidth + 1); -- cgit v1.2.3