Commit 0362ce6
committed
perf(virtual-bg): only resize output canvas when dimensions change
- Assigning width/height clears the canvas and reallocates the buffer even if values are unchanged
Assisted-by: ClaudeCode:claude-fable-5
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>1 parent 009dc8c commit 0362ce6
1 file changed
Lines changed: 6 additions & 2 deletions
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
461 | | - | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
462 | 466 | | |
463 | 467 | | |
464 | 468 | | |
| |||
0 commit comments