Commit 84a6924
committed
Fixing resize split can cause crashes when node is root
Fixing resize split can cause crashes when node is root.
"Regression" of micro-editor#3983 where ResizeSplit() assumed that the root node
always has a single child which aligns to the previous behavior1 parent e4a92a1 commit 84a6924
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
545 | 549 | | |
546 | 550 | | |
547 | 551 | | |
| |||
0 commit comments