1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 16:12:54 +08:00

Rename delegate argument

This commit is contained in:
Bartłomiej Dach 2020-05-25 20:11:00 +02:00
parent a174117880
commit 719da48922

View File

@ -112,9 +112,9 @@ namespace osu.Game.Tournament.Screens
{ {
Label = "Stream area resolution", Label = "Stream area resolution",
ButtonText = "Set height", ButtonText = "Set height",
Action = i => Action = height =>
{ {
windowSize.Value = new Size((int)(i * aspect_ratio / TournamentSceneManager.STREAM_AREA_WIDTH * TournamentSceneManager.REQUIRED_WIDTH), i); windowSize.Value = new Size((int)(height * aspect_ratio / TournamentSceneManager.STREAM_AREA_WIDTH * TournamentSceneManager.REQUIRED_WIDTH), height);
} }
}, },
}; };