                             "0.5"
                             "1")}
          :on-click select
+         :on-double-click #(dom/stop-propagation %)
          :on-drag-start on-drag-start
          :on-drag-enter on-drag-enter
          :on-drag-leave on-drag-leave

              (when (kbd/enter? event)
                (on-blur event)))
            (on-click [event]
              (dom/stop-propagation event)
              (dom/prevent-default event)
              (let [parent (.-parentNode (.-target event))]
                (set! (.-draggable parent) false))

          :auto-focus true
          :default-value (:name shape "")}]
        [:span.element-name
         {:on-double-click on-click}
         (:name shape "")]))))

;; --- Layer Simple (Component)
