make ShowMouseScrollDropdown static; it needs nothing from the instance.
This commit is contained in:
@@ -162,7 +162,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ShowMouseScrollDropdown(DropDownButtonWidget dropdown, GameSettings s)
|
static bool ShowMouseScrollDropdown(DropDownButtonWidget dropdown, GameSettings s)
|
||||||
{
|
{
|
||||||
var options = new Dictionary<string, MouseScrollType>()
|
var options = new Dictionary<string, MouseScrollType>()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user