1
Scripting / Re: How to detect the layout is presenting the display menu?
« on: February 10, 2020, 11:39:41 PM »The way I do it is this: in a transition response routine you can add the following check:Code: [Select]if ((ttype == Transition.ShowOverlay) && (var == Overlay.Displays)) {
// DISPLAY MENU IS BEING TURNED ON
}
I think there's also an "is up" option but I didn't know much about that when coding my layout
I try that, but i cant get it to work. I encapsulated that in a transition callback and all it did was depending on your IF statement it would chang the value of a boolean variable.....