Commit 6e2ceff
committed
fix(tldraw-v2): crash in mobile views
When in mobile, the size width is reported as 0, causing a crash in tldraw because of invalid zoom.
Abort zoom calculation in those cases.1 parent c857372 commit 6e2ceff
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
| |||
0 commit comments