Skip to content

fix(dsl): resolve two script_mod runtime errors#164

Merged
TigerInYourDream merged 1 commit into
mainfrom
fix/dsl
May 29, 2026
Merged

fix(dsl): resolve two script_mod runtime errors#164
TigerInYourDream merged 1 commit into
mainfrom
fix/dsl

Conversation

@TigerInYourDream
Copy link
Copy Markdown

Fixes two Makepad script_mod! runtime errors that spammed the log on every startup.

Changes

  • room_screen.rs: removed the invalid visible: false property on the Splash widget. Splash is a custom widget (not a View) and has no visible field, so the property was rejected at load. Its visibility is already driven by its body content (empty body renders nothing), so behavior is unchanged.
  • styles.rs: added the missing SETTINGS_REGULAR_TEXT_STYLE token (and its SETTINGS_REGULAR_FONT_SIZE). It was referenced 4× in app_settings.rs (introduced by the upstream sync in sync: migrate upstream app settings and align zoom/view-mode behavior #148) but its definition was never ported. Copied verbatim from upstream robrix.

Verification

  • cargo build passes.
  • Confirmed at runtime: room_screen.rs:2021 and app_settings.rs:51/95/170/291 errors no longer appear.

- room_screen: drop invalid `visible` property on Splash widget (not a View)
- styles: add missing SETTINGS_REGULAR_TEXT_STYLE token (ported from upstream)
@TigerInYourDream TigerInYourDream merged commit fb75c76 into main May 29, 2026
12 checks passed
@TigerInYourDream TigerInYourDream deleted the fix/dsl branch May 29, 2026 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant