View Single Post
08/18/14, 06:28 AM   #5
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Originally Posted by Dero View Post
The Problem is, that when i open for example the MAP, and then go back to the MainUI the TopLevelWindow i added to the SCENE_MANAGER loses its visible status and is always visible (also if it was hidden before opening the map). Since the SCENE_MANAGER has almost no documentation i hope that someone of you guys already worked a little bit with it and can help with this issue.

The code looks fine & works fine for me. I don't understand though you said:
"It loses its visibility status" AND "Is always visible" (did you just mean the visibility changes & is always visible on the main UI)?

Either way it is supposed to always be visible when your on the mainUI thats the scene you added your tlc to.
If you were trying to do the opposite (make it only visible with the map) that is the worldMap scene and you only want to add it to this one:
Lua Code:
  1. local sceneWorldMap = SCENE_MANAGER:GetScene("worldMap")
  Reply With Quote