Element styling, rename IsMousePressed to IsMouseButtonPressed in InputSystem, Button widget.
This commit is contained in:
@@ -29,10 +29,7 @@ public abstract class Widget : UIElement, IInputElement
|
||||
public void Input(UIInputContext context)
|
||||
{
|
||||
if (context.Handled || IgnoreInput) return;
|
||||
if (ContainsPoint(context.MousePosition))
|
||||
{
|
||||
OnInput(context);
|
||||
}
|
||||
OnInput(context);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user