mirror of
https://github.com/penpot/penpot.git
synced 2026-03-21 18:03:47 +00:00
🔧 Enable render-wasm-dpr by default
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user