mirror of
https://github.com/ppy/osu
synced 2025-01-02 12:22:13 +00:00
Update framework
This commit is contained in:
parent
99458aab48
commit
b6fb68c6e2
@ -1 +1 @@
|
||||
Subproject commit 67d89a36016f98c0ede576b859a2ccafe114fce8
|
||||
Subproject commit 2a56eb0619adf654ed4927af1a4b227596c87494
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user