cynicaloptimist/improved-initiative

Post-Combat Stats Summary won't stay on screen in Player View when "Show turn start portrait splash" is selected

jonathanmuldoon opened this issue · 1 comments

If "Show turn start portrait splash" is selected in Additional Player View Settings on the Epic Initiative tab and "Display Post-Combat Stats Summary" is set to either "Player view only" or "Both" on the Options tab, the Post-Combat Stats Summary stays on the screen in the Player View for less than a second then disappears.

The Post-Combat Stats Summary stays on the screen normally (remaining visible in the Player View until clicked on) when "Show turn start portrait splash" is unselected.

The Post-Combat Stats Summary still appears normally in the Encounter View in all instances.

I see the same behavior in Chrome, Firefox, and Edge.

It looks like showPortrait and showCombatStats share several variables in PlayerView.tsx (like modalTimeout and ModalVisible), so maybe showPortrait is setting one of these in a way that prevents showCombatStats from remaining on the screen?

Issue is no longer occurring.