mirror of
https://github.com/penpot/penpot.git
synced 2025-03-10 14:51:37 -05:00
🐛 Fix problem with snap to grids
This commit is contained in:
parent
6067498570
commit
bdd487adc0
2 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
||||||
- Fix toggle overlay position [Taiga #4091](https://tree.taiga.io/project/penpot/issue/4091)
|
- Fix toggle overlay position [Taiga #4091](https://tree.taiga.io/project/penpot/issue/4091)
|
||||||
- Fix overlay closed on clicked outside [Taiga #4027](https://tree.taiga.io/project/penpot/issue/4027)
|
- Fix overlay closed on clicked outside [Taiga #4027](https://tree.taiga.io/project/penpot/issue/4027)
|
||||||
- Fix animate multiple overlays [Taiga #3993](https://tree.taiga.io/project/penpot/issue/3993)
|
- Fix animate multiple overlays [Taiga #3993](https://tree.taiga.io/project/penpot/issue/3993)
|
||||||
|
- Fix problem with snap to grids [#2221](https://github.com/penpot/penpot/issues/2221)
|
||||||
|
|
||||||
## 1.15.3-beta
|
## 1.15.3-beta
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
|
|
||||||
(defn get-grids-snap-points
|
(defn get-grids-snap-points
|
||||||
[frame coord]
|
[frame coord]
|
||||||
(if (not (cph/rotated-frame? frame))
|
(if (cph/rotated-frame? frame)
|
||||||
[]
|
[]
|
||||||
(let [grid->snap (fn [[grid-type position]]
|
(let [grid->snap (fn [[grid-type position]]
|
||||||
{:type :layout
|
{:type :layout
|
||||||
|
|
Loading…
Add table
Reference in a new issue