HyperlinkCell - only draw BackgroundOverlay when Background != null

This commit is contained in:
John Colvin committed 2018-10-14 17:36:08 -05:00
1 parent 4360a1154c
commit c0a80182e6
1 file changed
+5 -3
@@ -297,9 +297,11 @@ namespace mbts.ui.controls {
}
drawingContext.Pop();
}
var bgo = GetBackgroundOverlay(this);
if (bgo != null)
drawingContext.DrawRectangle(bgo, null, rect);
if (bg != null) {
var bgo = GetBackgroundOverlay(this);
if (bgo != null)
drawingContext.DrawRectangle(bgo, null, rect);
}
}
bool _point_horizontally_over_text(double x) {