mirror of
https://github.com/encounter/aurora.git
synced 2026-07-09 18:19:33 -07:00
62e55287ea
* feat(rmlui): add user-configurable ui scale multiplier Expose `aurora::rmlui::set_ui_scale` / `get_ui_scale` so consumers can multiply the RmlUi context's density-independent pixel ratio without having to fight `sync_context_metrics` resetting the value every render. Default scale is 1.0 (no behavior change); the multiplier is clamped to [0.25, 4.0] and applied inside `sync_context_metrics`, so existing display-scale syncing continues to work for HiDPI / display-change events. * refactor: specific scale vs multiplier