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

Merge pull request #4365 from penpot/alotor-fix-visual-firefox-bug

Fix visual firefox bug
This commit is contained in:
Alejandro 2024-04-05 16:03:02 +02:00 committed by GitHub
commit 26ca36d8c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"