0
Fork 0
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:
AzazelN28 2024-10-01 15:59:35 +02:00
parent 1b1f08388f
commit 6d26abb9e3
3 changed files with 2 additions and 3 deletions

View file

@ -355,7 +355,7 @@
(fetch-bundle project-id file-id))
(when (contains? cf/flags :renderer-v2-cpp)
(rx/of (renderer/init)))
(rx/of (renderer-cpp/init)))
(->> stream
(rx/filter dch/commit?)

View file

@ -32,7 +32,6 @@
[app.main.ui.workspace.sidebar.collapsable-button :refer [collapsed-button]]
[app.main.ui.workspace.sidebar.history :refer [history-toolbox]]
[app.main.ui.workspace.viewport :refer [viewport]]
[app.renderer.cpp :as renderer-cpp]
[app.util.debug :as dbg]
[app.util.dom :as dom]
[app.util.globals :as globals]

View file

@ -271,7 +271,7 @@
[canvas-ref]
;; FIXME:
(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-viewport-size vport viewport-ref)