mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Update framework
This commit is contained in:
Submodule osu-framework updated: 67d89a3601...2a56eb0619
@ -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.Framework.Input.Bindings;
|
||||||
using osu.Game.Rulesets;
|
using osu.Game.Rulesets;
|
||||||
using SQLite.Net.Attributes;
|
using SQLite.Net.Attributes;
|
||||||
@ -17,8 +20,8 @@ namespace osu.Game.Input.Bindings
|
|||||||
[Column("Keys")]
|
[Column("Keys")]
|
||||||
public string KeysString
|
public string KeysString
|
||||||
{
|
{
|
||||||
get { return Keys.ToString(); }
|
get { return KeyCombination.ToString(); }
|
||||||
private set { Keys = value; }
|
private set { KeyCombination = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[Column("Action")]
|
[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.Allocation;
|
||||||
using osu.Framework.Input.Bindings;
|
using osu.Framework.Input.Bindings;
|
||||||
using osu.Game.Rulesets;
|
using osu.Game.Rulesets;
|
||||||
@ -47,7 +50,7 @@ namespace osu.Game.Input.Bindings
|
|||||||
if (store != null)
|
if (store != null)
|
||||||
{
|
{
|
||||||
foreach (var b in store.Query<DatabasedKeyBinding>(b => b.RulesetID == rulesetId && b.Variant == variant))
|
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