dream improvements
This commit is contained in:
@@ -957,9 +957,14 @@ void main ()
|
||||
(.end batch))))
|
||||
|
||||
(defn get-rendered [entities e]
|
||||
(merge e
|
||||
(when (#{:night :sunrise} (get-in entities [:state :time]))
|
||||
(get-in entities [:time-profiles (:night-profile e :default)]))))
|
||||
(as-> e e
|
||||
(merge e
|
||||
(when (#{:night :sunrise} (get-in entities [:state :time]))
|
||||
(get-in entities [:time-profiles (:night-profile e :default)]))
|
||||
)
|
||||
(if (:offset-y e)
|
||||
(assoc e :y (+ (:y e) (:offset-y e)))
|
||||
e)))
|
||||
|
||||
|
||||
(defn shift-range-to-bounds [x1 x2 min max]
|
||||
|
||||
Reference in New Issue
Block a user