diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-19 23:16:59 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-19 23:16:59 +1000 |
commit | 1f038540a59ff96aed3cda901449a298b6f1c11c (patch) | |
tree | e0768bc861938423c74d6e2abb9ef74357574238 /source/windowing/StarPane.cpp | |
parent | d682b164aa87435183a5ad3196b25b5ff8a5ad18 (diff) |
Port in the voice settings menu
Diffstat (limited to 'source/windowing/StarPane.cpp')
-rw-r--r-- | source/windowing/StarPane.cpp | 4 |
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; } |