1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 19:27:24 +08:00

Remove unused variable

This commit is contained in:
Bartłomiej Dach 2024-08-19 14:58:12 +02:00
parent 42675be6cf
commit 588a36cba3
No known key found for this signature in database

View File

@ -404,8 +404,6 @@ namespace osu.Game.Rulesets.Edit
if (e.ControlPressed || e.SuperPressed) if (e.ControlPressed || e.SuperPressed)
return false; return false;
bool handled = false;
if (checkLeftToggleFromKey(e.Key, out int leftIndex)) if (checkLeftToggleFromKey(e.Key, out int leftIndex))
{ {
var item = toolboxCollection.Items.ElementAtOrDefault(leftIndex); var item = toolboxCollection.Items.ElementAtOrDefault(leftIndex);