HyperlinkCell - only draw BackgroundOverlay when Background != null
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user