1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 19:53:23 +08:00

Redundant parentheses

This commit is contained in:
DrabWeb 2017-05-29 22:22:14 -03:00
parent 96efa5a240
commit 2edbf64d69

View File

@ -156,7 +156,7 @@ namespace osu.Game.Overlays
}; };
channelTabs.Current.ValueChanged += newChannel => CurrentChannel = newChannel; channelTabs.Current.ValueChanged += newChannel => CurrentChannel = newChannel;
channelTabs.ChannelSelectorActive.ValueChanged += (value) => channelSelection.State = value ? Visibility.Visible : Visibility.Hidden; channelTabs.ChannelSelectorActive.ValueChanged += value => channelSelection.State = value ? Visibility.Visible : Visibility.Hidden;
channelSelection.StateChanged += (overlay, state) => channelSelection.StateChanged += (overlay, state) =>
{ {
if (state == Visibility.Visible && 1f - chatHeight.Value < channel_selection_min_height) if (state == Visibility.Visible && 1f - chatHeight.Value < channel_selection_min_height)