Commit 6b03b08
committed
Fix LineNumberRuler for fixed zoom
This commit adds a layout call to the callback executed after a zoom
change for the Canvas. If a fixed zoom is used and monitor specific
scaling is active the font sizes will be correctly adapted after a zoom
change, but the size of the Canvas is not, leading to cut off line
numbers. Forcing a layout for this rare case of event will ensure a
proper resizing.
contributes to #30611 parent 0c268ac commit 6b03b08
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
| 627 | + | |
627 | 628 | | |
628 | 629 | | |
629 | 630 | | |
| |||
0 commit comments