mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -05:00
Merge pull request #4365 from penpot/alotor-fix-visual-firefox-bug
Fix visual firefox bug
This commit is contained in:
commit
26ca36d8c6
1 changed files with 6 additions and 0 deletions
|
@ -197,6 +197,12 @@
|
||||||
bs (* 4 zoom-inverse)]
|
bs (* 4 zoom-inverse)]
|
||||||
[:*
|
[:*
|
||||||
[:g.viewport-frame-background
|
[: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
|
;; This goes behind because if it goes in front the background bleeds through
|
||||||
[:path {:d (rulers-inside-path x1 y1 x2 y2 br bw)
|
[:path {:d (rulers-inside-path x1 y1 x2 y2 br bw)
|
||||||
:fill "none"
|
:fill "none"
|
||||||
|
|
Loading…
Add table
Reference in a new issue