mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 14:39:45 -05:00
wip: fix wrong call to renderer instead of renderer-cpp
This commit is contained in:
parent
1b1f08388f
commit
6d26abb9e3
3 changed files with 2 additions and 3 deletions
|
@ -355,7 +355,7 @@
|
||||||
(fetch-bundle project-id file-id))
|
(fetch-bundle project-id file-id))
|
||||||
|
|
||||||
(when (contains? cf/flags :renderer-v2-cpp)
|
(when (contains? cf/flags :renderer-v2-cpp)
|
||||||
(rx/of (renderer/init)))
|
(rx/of (renderer-cpp/init)))
|
||||||
|
|
||||||
(->> stream
|
(->> stream
|
||||||
(rx/filter dch/commit?)
|
(rx/filter dch/commit?)
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
[app.main.ui.workspace.sidebar.collapsable-button :refer [collapsed-button]]
|
[app.main.ui.workspace.sidebar.collapsable-button :refer [collapsed-button]]
|
||||||
[app.main.ui.workspace.sidebar.history :refer [history-toolbox]]
|
[app.main.ui.workspace.sidebar.history :refer [history-toolbox]]
|
||||||
[app.main.ui.workspace.viewport :refer [viewport]]
|
[app.main.ui.workspace.viewport :refer [viewport]]
|
||||||
[app.renderer.cpp :as renderer-cpp]
|
|
||||||
[app.util.debug :as dbg]
|
[app.util.debug :as dbg]
|
||||||
[app.util.dom :as dom]
|
[app.util.dom :as dom]
|
||||||
[app.util.globals :as globals]
|
[app.util.globals :as globals]
|
||||||
|
|
|
@ -271,7 +271,7 @@
|
||||||
[canvas-ref]
|
[canvas-ref]
|
||||||
;; FIXME:
|
;; FIXME:
|
||||||
(let [canvas (mf/ref-val canvas-ref)]
|
(let [canvas (mf/ref-val canvas-ref)]
|
||||||
(renderer/set-canvas canvas)))
|
(renderer-cpp/set-canvas canvas)))
|
||||||
|
|
||||||
(hooks/setup-dom-events zoom disable-paste in-viewport? workspace-read-only? drawing-tool drawing-path?)
|
(hooks/setup-dom-events zoom disable-paste in-viewport? workspace-read-only? drawing-tool drawing-path?)
|
||||||
(hooks/setup-viewport-size vport viewport-ref)
|
(hooks/setup-viewport-size vport viewport-ref)
|
||||||
|
|
Loading…
Add table
Reference in a new issue