Fix clickable link bad display regression

Fix #12219, close #12238
pull/12257/head
Don Ho 2 years ago
parent 2d4af44f54
commit e3a5f76af0

@ -2136,7 +2136,7 @@ void EditView::DrawForeground(Surface *surface, const EditModel &model, const Vi
hover = rangeRun.ContainsCharacter(model.hoverIndicatorPos); hover = rangeRun.ContainsCharacter(model.hoverIndicatorPos);
} }
if (hover) { if (hover) {
if (indicator.sacHover.style == IndicatorStyle::TextFore) { if (indicator.sacHover.style == IndicatorStyle::TextFore || (indicator.sacHover.style == IndicatorStyle::ExplorerLink)) {
textFore = indicator.sacHover.fore; textFore = indicator.sacHover.fore;
} }
} else { } else {

Loading…
Cancel
Save