Fix slider selection point not being set to new origin

This commit is contained in:
Dean Herbert 2018-03-01 22:02:53 +09:00
parent 603a98f6cc
commit 0704d823a9
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ protected override void UpdateCurrentState(ArmedState state)
public override bool ReceiveMouseInputAt(Vector2 screenSpacePos) => Body.ReceiveMouseInputAt(screenSpacePos);
public override Vector2 SelectionPoint => ToScreenSpace(Body.Position);
public override Vector2 SelectionPoint => ToScreenSpace(OriginPosition);
public override Quad SelectionQuad => Body.PathDrawQuad;
}
}