mirror of
https://github.com/penpot/penpot.git
synced 2025-07-17 09:27:12 +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-onboarding
|
||||||
:enable-dashboard-templates-section
|
:enable-dashboard-templates-section
|
||||||
:enable-google-fonts-provider
|
:enable-google-fonts-provider
|
||||||
:enable-component-thumbnails])
|
:enable-component-thumbnails
|
||||||
|
:enable-render-wasm-dpr])
|
||||||
|
|
||||||
(defn parse
|
(defn parse
|
||||||
[& flags]
|
[& flags]
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
(mem/get-list-size cells GRID-LAYOUT-CELL-ENTRY-SIZE))
|
(mem/get-list-size cells GRID-LAYOUT-CELL-ENTRY-SIZE))
|
||||||
|
|
||||||
(def dpr
|
(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
|
;; Based on app.main.render/object-svg
|
||||||
(mf/defc object-svg
|
(mf/defc object-svg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue