1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Update framework

This commit is contained in:
Dean Herbert 2017-08-12 22:10:57 +09:00
parent 99458aab48
commit b6fb68c6e2
3 changed files with 10 additions and 4 deletions

@ -1 +1 @@
Subproject commit 67d89a36016f98c0ede576b859a2ccafe114fce8
Subproject commit 2a56eb0619adf654ed4927af1a4b227596c87494

View File

@ -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")]

View File

@ -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);
}
}
}