0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 16:00:19 -05:00

🐛 Fixes problem with default square grid

This commit is contained in:
alonso.torres 2021-03-10 11:57:48 +01:00
parent c12cbbca2e
commit 3329216e3c
2 changed files with 2 additions and 1 deletions

View file

@ -28,6 +28,7 @@
- Fix problem with rotation degree input [#741](https://github.com/penpot/penpot/issues/741)
- Fix problem with resolved comments [Taiga #1406](https://tree.taiga.io/project/penpot/issue/1406)
- Fix problem with comments styles on dashboard [Taiga #1405](https://tree.taiga.io/project/penpot/issue/1405)
- Fix problem with default square grid [Taiga #1344](https://tree.taiga.io/project/penpot/issue/1344)
### :heart: Community contributions by (Thank you!)

View file

@ -45,7 +45,7 @@
ptk/WatchEvent
(watch [_ state stream]
(let [page-id (:current-page-id state)
data (get-in state [:workspace-data page-id])
data (get-in state [:workspace-data :pages-index page-id])
params (or (get-in data [:options :saved-grids :square])
(:square default-grid-params))
grid {:type :square