mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 02:56:12 +02:00
🐛 Fix problem with frame title rotation
This commit is contained in:
parent
6d3baaae47
commit
8db3f2b277
3 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 1.18.2
|
||||||
|
|
||||||
|
- Fix problem with frame title rotation
|
||||||
|
|
||||||
## 1.18.1
|
## 1.18.1
|
||||||
|
|
||||||
### :bug: Bugs fixed
|
### :bug: Bugs fixed
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
(defn left?
|
(defn left?
|
||||||
[cur cand]
|
[cur cand]
|
||||||
(let [closex? (mth/close? (:x cand) (:x cur))]
|
(let [closex? (mth/close? (:x cand) (:x cur) 0.01)]
|
||||||
(cond
|
(cond
|
||||||
(and closex? (< (:y cand) (:y cur))) cand
|
(and closex? (< (:y cand) (:y cur))) cand
|
||||||
closex? cur
|
closex? cur
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1.18.1
|
1.18.2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue