[Refactor]: PowerMenu Quick Controls #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refactor Summary
Quick Controls for Mic and Vol contain lots of duplicate code.
Motivation
The Quick Controls for both Microphone and Volume in the Power Menu module contain a large amount of duplicate code. They can be refactored into a reusable module.
There is likely also potential for componentization of the draggable mouse area code to be re-used across the whole config.
In addition, there appears to be a bug with the controls code that causes both Vol and Mic to follow each other... assumedly this happens when my mic is not plugged in and as such the speaker is detected as both input and output.
Scope
PowerMenu > QuickControls
Notes / Ideas
No response