mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-27 09:31:54 +00:00
## About The Pull Request While fiddling with NTNRC netadmin mode, I noticed that while renaming is blocked on `strong = TRUE` channels like `#cargobus`, it doesn't gray out the button like for deleting the channel. Instead, clicking it still opens the input menu!... But that part _is_ disabled, thus being just an uninteractable black bar. So in this pr we just make input buttons' `onClick` not work if `disabled`, and apply `Button--disabled` to itself if so. ## Why It's Good For The Game Grayed out button is much better than uninteractable black bar, especially when normal disabled buttons are _also_ grayed out. ## Changelog 🆑 fix: NTNRC "rename channel" button is now grayed out when unusable. fix: Genetics console "create advanced injector" button is now grayed out when unusable. /🆑