1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

TextEditor: Fix drawing text in the wrong colour

This commit is contained in:
attila 2025-04-22 11:17:43 +02:00 committed by Attila Szarvas
parent 3b43b7ca13
commit e23969f3ce

View file

@ -1459,7 +1459,7 @@ void TextEditor::drawContent (Graphics& g)
selectedTextRanges.getIntersectionsStartingAtZeroWith (glyphsRange));
paragraph->getShapedText().accessTogetherWith (drawGlyphRuns,
glyphColours,
glyphColours.getIntersectionsStartingAtZeroWith (glyphsRange),
textSelectionMask.getIntersectionsStartingAtZeroWith (glyphsRange),
underlining.getIntersectionsStartingAtZeroWith (glyphsRange));
}