mirror of
https://github.com/penpot/penpot.git
synced 2025-04-03 10:31:38 -05:00
Move rlocks under uxbox.util ns.
This commit is contained in:
parent
38bead08e9
commit
12a74070d2
9 changed files with 9 additions and 10 deletions
|
@ -19,8 +19,7 @@
|
|||
[uxbox.main.state.shapes :as stsh]
|
||||
[uxbox.main.data.core :refer (worker)]
|
||||
[uxbox.main.data.pages :as udp]
|
||||
;; FIXME: rlocks should be moved out of ui.workspace
|
||||
[uxbox.main.ui.workspace.rlocks :as rlocks]
|
||||
[uxbox.util.rlocks :as rlocks]
|
||||
[uxbox.util.geom.point :as gpt]
|
||||
[uxbox.util.data :refer (index-of)]))
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
[uxbox.main.data.shapes :as uds]
|
||||
[uxbox.main.ui.keyboard :as kbd]
|
||||
[uxbox.main.ui.workspace.base :as wb]
|
||||
[uxbox.main.ui.workspace.rlocks :as rlocks]
|
||||
[uxbox.util.rlocks :as rlocks]
|
||||
[uxbox.main.geom :as geom]
|
||||
[uxbox.util.dom :as dom]))
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
[uxbox.util.rstore :as rs]
|
||||
[uxbox.main.data.shapes :as uds]
|
||||
[uxbox.main.ui.workspace.base :as wb]
|
||||
[uxbox.main.ui.workspace.rlocks :as rlocks]
|
||||
[uxbox.util.rlocks :as rlocks]
|
||||
[uxbox.main.ui.shapes.common :as scommon]
|
||||
[uxbox.main.geom :as geom]
|
||||
[uxbox.util.geom.point :as gpt]
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
[uxbox.main.data.shapes :as uds]
|
||||
[uxbox.main.ui.shapes.common :as common]
|
||||
[uxbox.main.ui.shapes.attrs :as attrs]
|
||||
[uxbox.main.ui.workspace.rlocks :as rlocks]
|
||||
[uxbox.util.rlocks :as rlocks]
|
||||
[uxbox.main.geom :as geom])
|
||||
(:import goog.events.EventType))
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
[uxbox.main.ui.shapes :as uus]
|
||||
[uxbox.main.ui.shapes.selection :refer (selection-handlers)]
|
||||
[uxbox.main.ui.workspace.base :as wb]
|
||||
[uxbox.main.ui.workspace.rlocks :as rlocks]
|
||||
[uxbox.util.rlocks :as rlocks]
|
||||
[uxbox.main.ui.workspace.drawarea :refer (draw-area)]
|
||||
[uxbox.main.ui.workspace.ruler :refer (ruler)]
|
||||
[uxbox.main.ui.workspace.selrect :refer (selrect)]
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
[uxbox.main.data.shapes :as uds]
|
||||
[uxbox.main.ui.shapes :as shapes]
|
||||
[uxbox.main.ui.workspace.base :as wb]
|
||||
[uxbox.main.ui.workspace.rlocks :as rlocks]
|
||||
[uxbox.util.rlocks :as rlocks]
|
||||
[uxbox.main.geom :as geom]
|
||||
[uxbox.util.geom.point :as gpt]
|
||||
[uxbox.util.geom.path :as path]
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
(:require [beicon.core :as rx]
|
||||
[uxbox.util.mixins :as mx]
|
||||
[uxbox.main.ui.workspace.base :as wb]
|
||||
[uxbox.main.ui.workspace.rlocks :as rlocks]
|
||||
[uxbox.util.rlocks :as rlocks]
|
||||
[uxbox.util.geom.point :as gpt]))
|
||||
|
||||
(defn watch-scroll-interactions
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
[uxbox.main.data.workspace :as dw]
|
||||
[uxbox.main.data.shapes :as uds]
|
||||
[uxbox.main.ui.workspace.base :as wb]
|
||||
[uxbox.main.ui.workspace.rlocks :as rlocks]))
|
||||
[uxbox.util.rlocks :as rlocks]))
|
||||
|
||||
(defonce position (atom nil))
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
;;
|
||||
;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz>
|
||||
|
||||
(ns uxbox.main.ui.workspace.rlocks
|
||||
(ns uxbox.util.rlocks
|
||||
"Reactive locks abstraction.
|
||||
|
||||
Mainly used for lock the interface to do one concrete user action
|
Loading…
Add table
Reference in a new issue