Prevent mouse events from propagating through a video.

This commit is contained in:
Paul Chote
2014-10-08 22:36:39 +13:00
parent a60452b30a
commit 84e71258dc

View File

@@ -124,6 +124,11 @@ namespace OpenRA.Widgets
return true;
}
public override bool HandleMouseInput(MouseInput mi)
{
return RenderBounds.Contains(mi.Location);
}
public void Play()
{
PlayThen(() => { });