pane isDisplayed binding

This commit is contained in:
Zithia Satazaki 2023-10-31 15:01:39 -04:00
parent 00eeb4a809
commit f09b54b7e9

View File

@ -407,6 +407,10 @@ LuaCallbacks Pane::makePaneCallbacks() {
callbacks.registerCallback("scale", []() -> int {
return GuiContext::singleton().interfaceScale();
});
callbacks.registerCallback("isDisplayed", [this]() {
return isDisplayed();
});
return callbacks;
}