On font size change, call onResize on the renderer to force update of scrollbars/wrap data
This commit is contained in:
parent
36a3d23623
commit
b4d107284d
1 changed files with 9 additions and 8 deletions
|
|
@ -103,6 +103,7 @@ var VirtualRenderer = function(container, theme) {
|
|||
_self.characterWidth = textLayer.getCharacterWidth();
|
||||
_self.lineHeight = textLayer.getLineHeight();
|
||||
_self.$updatePrintMargin();
|
||||
_self.onResize(true);
|
||||
|
||||
_self.$loop.schedule(_self.CHANGE_FULL);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue