From 5a79a2d4d66701fd417823fe737dd967e1954d35 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Fri, 5 Apr 2024 14:58:12 +0200 Subject: [PATCH] :bug: Fix visual bug in firefox --- frontend/src/app/main/ui/workspace/viewport/rulers.cljs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/app/main/ui/workspace/viewport/rulers.cljs b/frontend/src/app/main/ui/workspace/viewport/rulers.cljs index 423701445..bec8eaf33 100644 --- a/frontend/src/app/main/ui/workspace/viewport/rulers.cljs +++ b/frontend/src/app/main/ui/workspace/viewport/rulers.cljs @@ -197,6 +197,12 @@ bs (* 4 zoom-inverse)] [:* [:g.viewport-frame-background + ;; Fix for a Firefox bug that shows some strange artifacts when creating shape + [:rect {:x 0 :y 0 :width 1 :height 1 + :fill "none" + :stroke-width 0.1 + :stroke "rgba(0,0,0,0)"}] + ;; This goes behind because if it goes in front the background bleeds through [:path {:d (rulers-inside-path x1 y1 x2 y2 br bw) :fill "none"