public void OnMouse(Vector2F position) { if (_confirmWindow != null && _confirmWindow.IsShow()) { _confirmWindow.OnMouse(position); return; } foreach (var column in requestColumns) { column.DeliveryButton.Hover(position); column.DestructionButton.Hover(position); } }
public override void OnMouse(Vector2F position) { if (_dialog != null && _dialog.IsShow) { return; } if (_numberInputWindow != null && _numberInputWindow.IsShow()) { _numberInputWindow.OnMouse(position); return; } if (_confirmWindow != null && _confirmWindow.IsShow()) { _confirmWindow.OnMouse(position); return; } base.OnMouse(position); }