Skip to content

Commit

Permalink
web: Fix all context menu items appearing disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
torokati44 committed Jul 5, 2024
1 parent fd89aa1 commit 5fb0410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/packages/core/src/ruffle-player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1636,7 +1636,7 @@ export class RufflePlayer extends HTMLElement {
const { text, onClick, enabled } = item;

const menuItem = (
<li class={{ "menu-item": true, disabled: !enabled }}>
<li class={{ "menu-item": true, disabled: enabled === false }}>
{text}
</li>
) as HTMLElement;
Expand Down

0 comments on commit 5fb0410

Please sign in to comment.