tiny-pilot / tinypilot

Use your Raspberry Pi as a browser-based KVM.
https://tinypilotkvm.com
MIT License
2.95k stars 245 forks source link

Remove modifier attributes from on-screen keyboard keys #1704

Closed jdeanwallace closed 7 months ago

jdeanwallace commented 7 months ago

Related https://github.com/tiny-pilot/tinypilot/issues/1167

This PR simplifies the on-screen keyboard by removing redundant modifier="true" attribute and modifier class. The on-screen keyboard now only relies on the isModifierCode helper function as the single source of truth.

This PR is a non-functional change.

Review on CodeApprove

jdeanwallace commented 7 months ago
Automated comment from CodeApprove ➜

⏳ @jotaen4tinypilot please review this Pull Request