pane isDisplayed binding
This commit is contained in:
parent
00eeb4a809
commit
f09b54b7e9
@ -407,6 +407,10 @@ LuaCallbacks Pane::makePaneCallbacks() {
|
|||||||
callbacks.registerCallback("scale", []() -> int {
|
callbacks.registerCallback("scale", []() -> int {
|
||||||
return GuiContext::singleton().interfaceScale();
|
return GuiContext::singleton().interfaceScale();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
callbacks.registerCallback("isDisplayed", [this]() {
|
||||||
|
return isDisplayed();
|
||||||
|
});
|
||||||
|
|
||||||
return callbacks;
|
return callbacks;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user