               :children children}]
 
             [:g.outlines
-             (for [child (filter (comp hover? :id) children)]
+             (for [child (filter (comp outline? :id) children)]
                [:& outline {:shape (geom/transform-shape child)}])]]])))))
 

                                       #(refs/make-selected (:id shape)))
            selected? (mf/deref selected-iref)
            zoom (mf/deref refs/selected-zoom)
            hover? (or (mf/deref refs/current-hover) #{})

            on-mouse-down   (mf/use-callback (mf/deps shape)
                                             #(common/on-mouse-down % shape))


(ns uxbox.main.ui.workspace.shapes.frame
  (:require
   [clojure.set :as set]
   [rumext.alpha :as mf]
   [uxbox.common.data :as d]
   [uxbox.main.constants :as c]
