Browse Source

Fix exception in HtmlControl.

pull/422/head
Steven Kirk 11 years ago
parent
commit
719a5519b5
  1. 6
      src/Perspex.HtmlRenderer/HtmlControl.cs

6
src/Perspex.HtmlRenderer/HtmlControl.cs

@ -549,7 +549,11 @@ namespace Perspex.Controls.Html
htmlContainer.SetHtml((string) e.NewValue, control._baseCssData);
control.InvalidateMeasure();
control.InvalidateVisual();
control.InvokeMouseMove();
if (control.VisualRoot != null)
{
control.InvokeMouseMove();
}
}
}
}

Loading…
Cancel
Save