Skip to content

Commit

Permalink
bugfix apply-box.style
Browse files Browse the repository at this point in the history
  • Loading branch information
awb99 committed Apr 4, 2024
1 parent d2ef623 commit 27ed84c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[deps-deploy.deps-deploy :as dd]))

(def lib 'org.pinkgorilla/ui-vega)
(def version (format "0.1.%s" (b/git-count-revs nil)))
(def version (format "0.2.%s" (b/git-count-revs nil)))
(def class-dir "target/classes")
(def basis (b/create-basis {:project "deps.edn"}))
(def jar-file (format "target/%s-%s.jar" (name lib) version))
Expand Down
2 changes: 1 addition & 1 deletion src/ui/vega/impl/react.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
spec (:spec opts)
user-opts (select-keys spec [:width :height :overflow])
spec (if (map? spec) ; spec could be a map or astring (url)
(-> (apply-style spec) ; box inject
(-> (apply-box-style spec) ; box inject
(assoc :usermeta {:embedOptions (merge vega-opts user-opts)}))
spec)]
[:> Vega (merge opts
Expand Down

0 comments on commit 27ed84c

Please sign in to comment.