Fix clickable link bad display regression

Fix #12219, close #12238
This commit is contained in:
Don Ho 2022-09-25 03:20:24 +02:00
parent 2d4af44f54
commit e3a5f76af0

View File

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