We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed59ea4 commit f4c1fa4Copy full SHA for f4c1fa4
src/renderer/tree/views.cljs
@@ -48,7 +48,7 @@
48
49
(defn item-label
50
[el]
51
- (let [{:keys [id label visible tag]} el
+ (let [{:keys [id label visible selected tag]} el
52
properties (element.hierarchy/properties tag)
53
tag-label (or (:label properties) (str/capitalize (name tag)))]
54
(ra/with-let [edit-mode? (ra/atom false)]
@@ -67,7 +67,7 @@
67
[:div.truncate
68
{:class [(when-not visible "opacity-60")
69
(when (= :svg tag) "font-bold")]
70
- :style {:cursor "text"}
+ :style {:cursor (when selected "text")}
71
:on-double-click (fn [e]
72
(.stopPropagation e)
73
(reset! edit-mode? true))}
0 commit comments