mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Update framework
This commit is contained in:
@ -1,3 +1,6 @@
|
||||
// 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.Framework.Input.Bindings;
|
||||
using osu.Game.Rulesets;
|
||||
using SQLite.Net.Attributes;
|
||||
@ -17,8 +20,8 @@ namespace osu.Game.Input.Bindings
|
||||
[Column("Keys")]
|
||||
public string KeysString
|
||||
{
|
||||
get { return Keys.ToString(); }
|
||||
private set { Keys = value; }
|
||||
get { return KeyCombination.ToString(); }
|
||||
private set { KeyCombination = value; }
|
||||
}
|
||||
|
||||
[Column("Action")]
|
||||
|
@ -1,3 +1,6 @@
|
||||
// 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.Framework.Allocation;
|
||||
using osu.Framework.Input.Bindings;
|
||||
using osu.Game.Rulesets;
|
||||
@ -47,7 +50,7 @@ namespace osu.Game.Input.Bindings
|
||||
if (store != null)
|
||||
{
|
||||
foreach (var b in store.Query<DatabasedKeyBinding>(b => b.RulesetID == rulesetId && b.Variant == variant))
|
||||
Mappings.Add(b);
|
||||
KeyBindings.Add(b);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user