mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 16:12:54 +08:00
Use IntAction instead of new
This commit is contained in:
parent
dc82a88bb8
commit
54698f2d8f
@ -1,6 +1,8 @@
|
||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Game.Overlays;
|
||||
|
||||
namespace osu.Desktop.Tests.Visual
|
||||
{
|
||||
public class TestCaseKeyConfiguration : OsuTestCase
|
||||
|
@ -29,10 +29,10 @@ namespace osu.Game.Input.Bindings
|
||||
|
||||
[Indexed]
|
||||
[Column("Action")]
|
||||
public new int Action
|
||||
public int IntAction
|
||||
{
|
||||
get { return (int)base.Action; }
|
||||
set { base.Action = value; }
|
||||
get { return (int)Action; }
|
||||
set { Action = value; }
|
||||
}
|
||||
}
|
||||
}
|
@ -74,7 +74,7 @@ namespace osu.Game.Input
|
||||
Connection.Insert(new DatabasedKeyBinding
|
||||
{
|
||||
KeyCombination = insertable.KeyCombination,
|
||||
Action = (int)insertable.Action,
|
||||
Action = insertable.Action,
|
||||
RulesetID = rulesetId,
|
||||
Variant = variant
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user