chore: update interactive role checks in OsuCursor component

This commit is contained in:
2026-01-04 17:16:09 +01:00
parent c07e390b65
commit 1d1904e995
@@ -25,7 +25,7 @@
const computed = getComputedStyle(el); const computed = getComputedStyle(el);
if ( if (
['button', 'a', 'input', 'select', 'textarea', 'label', 'option'].includes(tag) || ['button', 'a', 'input', 'select', 'textarea', 'label', 'option'].includes(tag) ||
(role && ['button', 'link', 'checkbox', 'combobox'].includes(role)) || (role && ['button', 'link', 'checkbox', 'combobox', 'menuitem', 'option'].includes(role)) ||
computed.cursor === 'pointer' computed.cursor === 'pointer'
) { ) {
return true; return true;