🐛 Fix horizontal margins drag don't always start from place

This commit is contained in:
Alejandro Alonso 2023-03-22 11:50:44 +01:00 committed by Alonso Torres
parent bc794816db
commit b5fc074e35
2 changed files with 9 additions and 7 deletions

View file

@ -42,6 +42,8 @@
- Fix problem when assigning color from palette or assets [Taiga #5050](https://tree.taiga.io/project/penpot/issue/5050)
- Fix shortcuts for alignment [Taiga #5030](https://tree.taiga.io/project/penpot/issue/5030)
- Fix path options not showing when editing rects or ellipses [Taiga #5053](https://tree.taiga.io/project/penpot/issue/5053)
- Fix tooltips for some alignment options are truncated on design tab [Taiga #5040](https://tree.taiga.io/project/penpot/issue/5040)
- Fix horizontal margins drag don't always start from place [Taiga #5020](https://tree.taiga.io/project/penpot/issue/5020)
### :heart: Community contributions by (Thank you!)
- To @ondrejkonec: for contributing to the code with:

View file

@ -307,7 +307,7 @@
on-pointer-down
(mf/use-callback
(mf/deps frame-id padding-num)
(mf/deps frame-id rect-data padding-num)
(fn [event]
(dom/capture-pointer event)
(reset! resizing? true)