mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:35:34 +00:00
Partial selector fix
This commit is contained in:
parent
f7cbd7d171
commit
882608be72
2 changed files with 15 additions and 14 deletions
|
|
@ -49,14 +49,14 @@ public partial class Selector : Node2D
|
|||
SelectNext();
|
||||
}
|
||||
|
||||
if (SelectedInteractable != null) {
|
||||
this.Visible = true;
|
||||
this.GlobalPosition = SelectedInteractable.GlobalPosition;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
// if (SelectedInteractable is not null) {
|
||||
// this.Visible = true;
|
||||
// this.GlobalPosition = SelectedInteractable.GlobalPosition;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// this.Visible = false;
|
||||
// }
|
||||
}
|
||||
|
||||
public void SelectNext()
|
||||
|
|
@ -115,7 +115,6 @@ public partial class Selector : Node2D
|
|||
|
||||
public void UpdatePosition()
|
||||
{
|
||||
return;
|
||||
if (SelectedInteractable != null)
|
||||
{
|
||||
this.Position = SelectedInteractable.Position;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue