mirror of
https://github.com/penpot/penpot.git
synced 2025-05-24 01:06:10 +02:00
Fix some deprecation warnings.
This commit is contained in:
parent
187612ed2d
commit
32041b9596
2 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@
|
|||
|
||||
;; --- Scroll Stream
|
||||
|
||||
(defonce scroll-b (rx/bus))
|
||||
(defonce scroll-b (rx/subject))
|
||||
|
||||
(defonce scroll-s
|
||||
(as-> scroll-b $
|
||||
|
@ -82,12 +82,12 @@
|
|||
|
||||
;; --- Events
|
||||
|
||||
(defonce events-b (rx/bus))
|
||||
(defonce events-b (rx/subject))
|
||||
(defonce events-s (rx/dedupe events-b))
|
||||
|
||||
;; --- Mouse Position Stream
|
||||
|
||||
(defonce mouse-b (rx/bus))
|
||||
(defonce mouse-b (rx/subject))
|
||||
(defonce mouse-s (rx/dedupe mouse-b))
|
||||
|
||||
(defonce mouse-canvas-s
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
;; --- State
|
||||
|
||||
(defonce drawing-stoper (rx/bus))
|
||||
(defonce drawing-stoper (rx/subject))
|
||||
(defonce drawing-shape (atom nil))
|
||||
(defonce drawing-position (atom nil))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue