fix(nav): enable tooltips for local players during gameplay
Removed `pointerEvents: canModifyPlayers ? 'auto' : 'none'` from the active players container that was blocking tooltips during gameplay. During gameplay (canModifyPlayers=false), this was preventing hover events from reaching the PlayerTooltip component, so tooltips wouldn't show for local players. Network players didn't have this restriction, so their tooltips worked fine. The pointer-events restriction is not needed because: - Interactive buttons (configure/remove) only show during setup (shouldEmphasize) - Avatar click handlers already respect the shouldEmphasize flag - Tooltips should always be accessible for player information 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -265,7 +265,6 @@ export function GameContextNav({
|
||||
: '0 4px 12px rgba(0, 0, 0, 0.1)',
|
||||
transition: 'all 0.4s cubic-bezier(0.4, 0, 0.2, 1)',
|
||||
transform: shouldEmphasize ? 'scale(1.05)' : 'scale(1)',
|
||||
pointerEvents: canModifyPlayers ? 'auto' : 'none',
|
||||
}}
|
||||
>
|
||||
<ActivePlayersList
|
||||
|
||||
Reference in New Issue
Block a user