mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
Make selectionLayer handle input below object overlays
This commit is contained in:
parent
6cc54a464c
commit
45c579630d
@ -58,8 +58,8 @@ namespace osu.Game.Rulesets.Edit
|
||||
return container;
|
||||
}
|
||||
|
||||
HitObjectOverlayLayer hitObjectOverlayLayer;
|
||||
SelectionLayer selectionLayer;
|
||||
HitObjectOverlayLayer hitObjectOverlayLayer = CreateHitObjectOverlayLayer();
|
||||
SelectionLayer selectionLayer = new SelectionLayer(rulesetContainer.Playfield);
|
||||
|
||||
RadioButtonCollection toolboxCollection;
|
||||
InternalChild = new GridContainer
|
||||
@ -97,8 +97,9 @@ namespace osu.Game.Rulesets.Edit
|
||||
rulesetContainer,
|
||||
createLayerContainerWithContent
|
||||
(
|
||||
hitObjectOverlayLayer = CreateHitObjectOverlayLayer(),
|
||||
selectionLayer = new SelectionLayer(rulesetContainer.Playfield)
|
||||
selectionLayer, // Below object overlays for input
|
||||
hitObjectOverlayLayer,
|
||||
selectionLayer.CreateProxy() // Proxy above object overlays for selections
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user