🐛 fix color palette overflow

This commit is contained in:
Eva 2022-02-08 12:08:09 +01:00 committed by Andrés Moya
parent ae2a99acb0
commit 40b005f46e
2 changed files with 2 additions and 1 deletions

View file

@ -358,7 +358,7 @@
"Calculates the style properties for the given coordinates and position"
[{vh :height} position x y]
(let [;; picker height in pixels
h 360
h 430
;; Checks for overflow outside the viewport height
overflow-fix (max 0 (+ y (- 50) h (- vh)))]
(cond