mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Adapt signature change of event handlers
This commit is contained in:
@ -206,10 +206,7 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
if (isDragging)
|
||||
{
|
||||
Trace.Assert(e.Mouse.PositionMouseDown != null);
|
||||
|
||||
// ReSharper disable once PossibleInvalidOperationException
|
||||
double targetChatHeight = startDragChatHeight - (e.Mouse.Position.Y - e.Mouse.PositionMouseDown.Value.Y) / Parent.DrawSize.Y;
|
||||
double targetChatHeight = startDragChatHeight - (e.MousePosition.Y - e.MouseDownPosition.Y) / Parent.DrawSize.Y;
|
||||
|
||||
// If the channel selection screen is shown, mind its minimum height
|
||||
if (channelSelection.State == Visibility.Visible && targetChatHeight > 1f - channel_selection_min_height)
|
||||
|
Reference in New Issue
Block a user