mirror of
https://github.com/penpot/penpot.git
synced 2025-07-16 21:45:15 +02:00
🔧 Enable render-wasm-dpr by default
This commit is contained in:
parent
d0425cabda
commit
56d96aaf07
2 changed files with 3 additions and 2 deletions
|
@ -149,7 +149,8 @@
|
|||
:enable-onboarding
|
||||
:enable-dashboard-templates-section
|
||||
:enable-google-fonts-provider
|
||||
:enable-component-thumbnails])
|
||||
:enable-component-thumbnails
|
||||
:enable-render-wasm-dpr])
|
||||
|
||||
(defn parse
|
||||
[& flags]
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
(mem/get-list-size cells GRID-LAYOUT-CELL-ENTRY-SIZE))
|
||||
|
||||
(def dpr
|
||||
(if use-dpr? js/window.devicePixelRatio 1.0))
|
||||
(if use-dpr? (if (exists? js/window) js/window.devicePixelRatio 1.0) 1.0))
|
||||
|
||||
;; Based on app.main.render/object-svg
|
||||
(mf/defc object-svg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue