mirror of https://github.com/ppy/osu
Merge pull request #11525 from peppy/fix-editor-selection-box-non-visible-hitobjects
Fix selection box not updating with hitcircles/sliders far in the future or past
This commit is contained in:
commit
7e30489167
|
@ -30,6 +30,6 @@ protected override void Update()
|
|||
|
||||
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => DrawableObject.HitArea.ReceivePositionalInputAt(screenSpacePos);
|
||||
|
||||
public override Quad SelectionQuad => DrawableObject.HitArea.ScreenSpaceDrawQuad;
|
||||
public override Quad SelectionQuad => CirclePiece.ScreenSpaceDrawQuad;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,6 +44,8 @@ public class SliderSelectionBlueprint : OsuSelectionBlueprint<Slider>
|
|||
[Resolved(CanBeNull = true)]
|
||||
private IEditorChangeHandler changeHandler { get; set; }
|
||||
|
||||
public override Quad SelectionQuad => BodyPiece.ScreenSpaceDrawQuad;
|
||||
|
||||
private readonly BindableList<PathControlPoint> controlPoints = new BindableList<PathControlPoint>();
|
||||
private readonly IBindable<int> pathVersion = new Bindable<int>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue