From 1f221eafa4371d87c048b33de2cac4b4503fe13e Mon Sep 17 00:00:00 2001 From: Mateusz Russak Date: Thu, 29 Feb 2024 16:08:06 +0100 Subject: [PATCH] chore: fixed linter error --- ui/src/builder/BuilderInstanceTracker.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/builder/BuilderInstanceTracker.vue b/ui/src/builder/BuilderInstanceTracker.vue index a77ee0da8..7855e1f2c 100644 --- a/ui/src/builder/BuilderInstanceTracker.vue +++ b/ui/src/builder/BuilderInstanceTracker.vue @@ -65,7 +65,7 @@ const trackElement = (el: HTMLElement) => { if (settingsLeft < rendererX + rendererWidth) { const trackerEnd = trackerX + contentsWidth; const rendererEnd = rendererX + rendererWidth; - const distanceToRight = Math.max( rendererEnd - trackerEnd, 0) + const distanceToRight = Math.max(rendererEnd - trackerEnd, 0); correction = Math.max(settingsWidth - distanceToRight, 0); }