mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
🐛 Fix problem with grid edition in Safari
This commit is contained in:
parent
2f4a655523
commit
6ca34908d8
@ -162,7 +162,7 @@
|
||||
(let [raw-pt (mf/ref-val current-pos-ref)
|
||||
position (uwvv/point->viewport raw-pt)
|
||||
start (mf/ref-val start-pos-ref)
|
||||
delta (gpt/to-vec start (dom/get-client-position event))]
|
||||
delta (gpt/to-vec start raw-pt)]
|
||||
(dom/release-pointer event)
|
||||
(mf/set-ref-val! dragging-ref false)
|
||||
(mf/set-ref-val! start-pos-ref nil)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user