diff --git a/source/windowing/StarPane.cpp b/source/windowing/StarPane.cpp index cac12a1..39ad24c 100644 --- a/source/windowing/StarPane.cpp +++ b/source/windowing/StarPane.cpp @@ -407,6 +407,10 @@ LuaCallbacks Pane::makePaneCallbacks() { callbacks.registerCallback("scale", []() -> int { return GuiContext::singleton().interfaceScale(); }); + + callbacks.registerCallback("isDisplayed", [this]() { + return isDisplayed(); + }); return callbacks; }