0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00

🐛 Fix visual bug in firefox

This commit is contained in:
alonso.torres 2024-04-05 14:58:12 +02:00
parent 10fbbd6c86
commit 5a79a2d4d6

View file

@ -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"