Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/windowing/StarPane.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-07-19 23:16:59 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-07-19 23:16:59 +1000
commit1f038540a59ff96aed3cda901449a298b6f1c11c (patch)
treee0768bc861938423c74d6e2abb9ef74357574238 /source/windowing/StarPane.cpp
parentd682b164aa87435183a5ad3196b25b5ff8a5ad18 (diff)
Port in the voice settings menu
Diffstat (limited to 'source/windowing/StarPane.cpp')
-rw-r--r--source/windowing/StarPane.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/windowing/StarPane.cpp b/source/windowing/StarPane.cpp
index a2d32ad..04739cb 100644
--- a/source/windowing/StarPane.cpp
+++ b/source/windowing/StarPane.cpp
@@ -404,6 +404,10 @@ LuaCallbacks Pane::makePaneCallbacks() {
return this->removeChild(widgetName);
});
+ callbacks.registerCallback("scale", []() -> int {
+ return GuiContext::singleton().interfaceScale();
+ });
+
return callbacks;
}