Skip to content

Save state of the sidebar & dynamic canvas resize#5

Open
Malasuerte94 wants to merge 15 commits into
simnJS:mainfrom
Malasuerte94:feat-sessions
Open

Save state of the sidebar & dynamic canvas resize#5
Malasuerte94 wants to merge 15 commits into
simnJS:mainfrom
Malasuerte94:feat-sessions

Conversation

@Malasuerte94

Copy link
Copy Markdown
Contributor

What

Local storage of the state of the sidebar closed and opened, dynamic resolution change for the viewport on the main desktop view so we can test dynamic canvas resize affecting the game

Why

We encountered problems in our games because we did not tested how games behaves when we change the canvas size like stake does.

Screenshots / recordings

image

Breaking changes?

Nope

Malasuerte94 and others added 15 commits May 14, 2026 10:48
…cy in lgs::config

The list and helper were duplicated across desktop/commands.rs, lgs/devtool.rs
and (newly in this branch) lgs/session.rs — three copies that already had
drifted between unwrap_or("USD") and unwrap_or(config::CURRENCY). Expose them
from lgs::config and have every caller use the shared version.
…cy in lgs::config

The list and helper were duplicated across desktop/commands.rs, lgs/devtool.rs
and (newly in this branch) lgs/session.rs — three copies that already had
drifted between unwrap_or("USD") and unwrap_or(config::CURRENCY). Expose them
from lgs::config and have every caller use the shared version.
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.

2 participants