1.2.9 — Wind UI toggle key fix
What changed
Menu toggle key now works in Wind UI
The toggle_key set in layout.rblua now correctly opens and closes the Wind UI window when pressed.
Root cause: The framework settings page registered the Menu Toggle keybind with an empty callback (function() end), so pressing the key did nothing. Additionally, the adapter's SetToggleKey was attempting a native _windWindow:SetToggleKey() call inside a silent pcall, which was failing without any visible error.
Fix:
- Added
_UIAdapter:ToggleWindow()which calls_windWindow:Toggle(). - The Settings page keybind callback now calls
ToggleWindow()so pressing the bound key actually toggles the window. - The keybind default key is now read from
_PULSE_TOGGLE_KEY(i.e. whatevertoggle_keyyou set inlayout.rblua) instead of a hardcoded"RightControl".
No changes to layout.rblua or page files are needed — rebuild and the toggle key will work.
Impact on existing projects
No action required. Rebuild with py rb/rb.py build.