mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Fix group deselected when table is recreated
This commit is contained in:
@ -97,7 +97,7 @@ namespace osu.Game.Screens.Edit
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OverlayColourProvider colours)
|
||||
{
|
||||
hoveredBackground.Colour = colourHover = colours.Background1;
|
||||
colourHover = colours.Background1;
|
||||
colourSelected = colours.Colour3;
|
||||
}
|
||||
|
||||
@ -105,8 +105,7 @@ namespace osu.Game.Screens.Edit
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
// Reduce flicker of rows when offset is being changed rapidly.
|
||||
// Probably need to reconsider this.
|
||||
updateState();
|
||||
FinishTransforms(true);
|
||||
}
|
||||
|
||||
|
@ -44,6 +44,7 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
{
|
||||
BackgroundFlow.Add(new RowBackground(group)
|
||||
{
|
||||
Selected = group.Equals(selectedGroup?.Value),
|
||||
Action = () =>
|
||||
{
|
||||
selectedGroup.Value = group;
|
||||
|
Reference in New Issue
Block a user