1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 23:50:29 +01:00

Fixed waypoints being highlighted when they shouldn't be

This commit is contained in:
Rich Dunne 2020-09-27 07:44:15 -06:00
parent cf0aa75644
commit 4cb8c10569

View file

@ -188,7 +188,7 @@ namespace SceneManager
else if ((Path.State == State.Finished && MenuManager.menuPool.IsAnyMenuOpen()) || (Path.State == State.Creating && PathCreationMenu.pathCreationMenu.Visible)) else if ((Path.State == State.Finished && MenuManager.menuPool.IsAnyMenuOpen()) || (Path.State == State.Creating && PathCreationMenu.pathCreationMenu.Visible))
{ {
float markerHeight = 1f; float markerHeight = 1f;
if (PathMainMenu.editPath.Selected && PathMainMenu.editPath.Value == Path.Number) if (PathMainMenu.editPath.Selected && PathMainMenu.editPath.Value == Path.Number && (PathMainMenu.pathMainMenu.Visible || EditPathMenu.editPathMenu.Visible))
{ {
markerHeight = 2f; markerHeight = 2f;
} }