Skip to content

fix(StatsGl): update stats-gl to ^4.2.3 and fix hidden panel - #2754

Open
ovaar wants to merge 1 commit into
pmndrs:masterfrom
ovaar:fix/stats-gl-4
Open

fix(StatsGl): update stats-gl to ^4.2.3 and fix hidden panel#2754
ovaar wants to merge 1 commit into
pmndrs:masterfrom
ovaar:fix/stats-gl-4

Conversation

@ovaar

@ovaar ovaar commented Jul 17, 2026

Copy link
Copy Markdown

Bump stats-gl 2.2.8 -> 4.2.3.
In v4 the panel's positioning (position: fixed; top/left; z-index) lives on the container's inline style attribute rather than on the child canvases. The unconditional removeAttribute('style') stripped that positioning, dropping the panel to position: static at the bottom of the page where it was invisible.

Remove the duplicate unconditional strip; the clearStatsGlStyle-gated call above it already covers the opt-in case.

  • Ready to be merged

Bump stats-gl 2.2.8 -> 4.2.3. In v4 the panel's positioning
(position: fixed; top/left; z-index) lives on the container's inline
style attribute rather than on the child canvases. The unconditional
removeAttribute('style') stripped that positioning, dropping the panel
to position: static at the bottom of the page where it was invisible.

Remove the duplicate unconditional strip; the clearStatsGlStyle-gated
call above it already covers the opt-in case.
@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

@ovaar is attempting to deploy a commit to the Poimandres Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant