bevyengine / bevyengine/bevy

`Val::Em` variant

Open
#21,209 0 comments 1 reaction 0 assignees View on GitHub
A-Text A-UI C-Feature I-Accessibility
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## What problem does this solve or what need does it fill?

New `Val::Em(f32)` variant based on the node's font size.

`Val::Em` is both less useful (mostly), and more difficult to implement than `Val::Rem`. In particular it might complicate any `Val::Calc` implementation (#5893). So I think we'd want to add just `Val::Rem` (#21208) initially, and then leave `Val::Em` until after `Val::Calc` is in.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.