♻️ Refactor embed resouces

This commit is contained in:
alonso.torres 2021-05-21 14:51:02 +02:00 committed by Andrey Antukh
parent 42072f2584
commit 6a68e9c118
15 changed files with 312 additions and 260 deletions

View file

@ -14,7 +14,7 @@
[app.common.uuid :as uuid]
[app.main.exports :as exports]
[app.main.repo :as repo]
[app.main.ui.context :as muc]
[app.main.ui.shapes.embed :as embed]
[app.main.ui.shapes.filters :as filters]
[app.main.ui.shapes.shape :refer [shape-container]]
[beicon.core :as rx]
@ -71,7 +71,7 @@
#(exports/shape-wrapper-factory objects))
]
[:& (mf/provider muc/embed-ctx) {:value true}
[:& (mf/provider embed/context) {:value true}
[:svg {:id "screenshot"
:view-box vbox
:width width