From f09b54b7e9b578155d47c18acee9ff9fb12b8d15 Mon Sep 17 00:00:00 2001 From: Zithia Satazaki Date: Tue, 31 Oct 2023 15:01:39 -0400 Subject: [PATCH] pane isDisplayed binding --- source/windowing/StarPane.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; }