Skip to main content

1.2.9 — Wind UI toggle key fix

What changed

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. whatever toggle_key you set in layout.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.