Skip to content

Commit

Permalink
Fix wrap not updating after font zoom in/out when using wrap against …
Browse files Browse the repository at this point in the history
…line breaking column (SpartanJ/ecode#390).
  • Loading branch information
SpartanJ committed Feb 17, 2025
1 parent 2b0d1ec commit 47c8aa0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/eepp/ui/uicodeeditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down

0 comments on commit 47c8aa0

Please sign in to comment.