mirror of
https://github.com/penpot/penpot.git
synced 2025-07-22 15:27:17 +02:00
🐛 Fix problem with scroll in viewer mode
This commit is contained in:
parent
2db5925e60
commit
ca1e6c342f
2 changed files with 20 additions and 17 deletions
|
@ -493,7 +493,7 @@
|
|||
(.remove ^js class-list class-name))))
|
||||
|
||||
(defn child? [^js node1 ^js node2]
|
||||
(when (some? node1)
|
||||
(when (and (some? node1) (some? node2))
|
||||
(.contains ^js node2 ^js node1)))
|
||||
|
||||
(defn get-user-agent []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue