🐛 Fix title of draw tools TG-237

This commit is contained in:
mathieu.brunot 2019-02-18 01:02:22 +01:00
parent 0d9a56ba17
commit 2344850243
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0

View file

@ -116,7 +116,7 @@
(mx/doseq [[i props] (map-indexed vector tools)] (mx/doseq [[i props] (map-indexed vector tools)]
(let [selected? (= drawing-tool (:shape props))] (let [selected? (= drawing-tool (:shape props))]
[:div.tool-btn.tooltip.tooltip-hover [:div.tool-btn.tooltip.tooltip-hover
{:alt (tr :help props) {:alt (tr (:help props))
:class (when selected? "selected") :class (when selected? "selected")
:key (str i) :key (str i)
:on-click (partial select-drawtool (:shape props))} :on-click (partial select-drawtool (:shape props))}