Skip to content

Commit 47c8aa0

Browse files
committed
Fix wrap not updating after font zoom in/out when using wrap against line breaking column (SpartanJ/ecode#390).
1 parent 2b0d1ec commit 47c8aa0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/eepp/ui/uicodeeditor.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -3054,6 +3054,8 @@ void UICodeEditor::udpateGlyphWidth() {
30543054
mGlyphWidth = mFont->getGlyph( '@', getCharacterSize(), false, false ).advance;
30553055
mMouseWheelScroll = 3 * getLineHeight();
30563056
invalidateLongestLineWidth();
3057+
if ( mFontStyleConfig.Font )
3058+
invalidateLineWrapMaxWidth( false );
30573059
}
30583060

30593061
Drawable* UICodeEditor::findIcon( const std::string& name ) {

0 commit comments

Comments
 (0)