Prevent mouse events from propagating through a video.
This commit is contained in:
@@ -124,6 +124,11 @@ namespace OpenRA.Widgets
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override bool HandleMouseInput(MouseInput mi)
|
||||||
|
{
|
||||||
|
return RenderBounds.Contains(mi.Location);
|
||||||
|
}
|
||||||
|
|
||||||
public void Play()
|
public void Play()
|
||||||
{
|
{
|
||||||
PlayThen(() => { });
|
PlayThen(() => { });
|
||||||
|
|||||||
Reference in New Issue
Block a user