mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 12:02:55 +08:00
Fix channel list occasioanlly taking clicks when not open
This commit is contained in:
parent
90dabe01f4
commit
1fa70167c2
@ -58,7 +58,7 @@ namespace osu.Game.Overlays
|
||||
private readonly Container channelSelectionContainer;
|
||||
private readonly ChannelSelectionOverlay channelSelection;
|
||||
|
||||
protected override bool InternalContains(Vector2 screenSpacePos) => chatContainer.Contains(screenSpacePos) || channelSelection.Contains(screenSpacePos);
|
||||
protected override bool InternalContains(Vector2 screenSpacePos) => chatContainer.Contains(screenSpacePos) || (channelSelection.State == Visibility.Visible && channelSelection.Contains(screenSpacePos));
|
||||
|
||||
public ChatOverlay()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user