Fix wrap not updating after font zoom in/out when using wrap against line breaking column (SpartanJ/ecode#390).

This commit is contained in:
Martín Lucas Golini
2025-02-17 18:45:31 -03:00
parent 2b0d1ec0ff
commit 47c8aa0774

View File

@@ -3054,6 +3054,8 @@ void UICodeEditor::udpateGlyphWidth() {
mGlyphWidth = mFont->getGlyph( '@', getCharacterSize(), false, false ).advance;
mMouseWheelScroll = 3 * getLineHeight();
invalidateLongestLineWidth();
if ( mFontStyleConfig.Font )
invalidateLineWrapMaxWidth( false );
}
Drawable* UICodeEditor::findIcon( const std::string& name ) {