You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Adds a fourth ActionKind, Scalar, carrying an f32 from a slider's ValueChange<f32>. It is edge-triggered like Instant but value-carrying like Axis, completing the edge/level split (Instant/Scalar vs Toggle/Axis). - ActionValue::Scalar(f32) + as_scalar(); ActionState scalar()/set_scalar(). - active() is now kind-dispatched: edge kinds report "this frame", level kinds report current state. - slider_to_action observer stores live value on every change but only triggers on is_final, so gated consumers run once per settled change. - scalar_value(a) typed provider pipes a bare f32 into In<f32>. - #[action_kind(scalar)] added to the derive macro. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
6 days ago | |
|---|---|---|
| .cargo | 1 month ago | |
| .templates | 1 month ago | |
| engine | 6 days ago | |
| life | 1 week ago | |
| prototypes | 1 month ago | |
| scripts | 3 weeks ago | |
| web | 1 month ago | |
| .envrc | 1 month ago | |
| .gitignore | 4 weeks ago | |
| flake.lock | 1 month ago | |
| flake.nix | 1 month ago | |
| justfile | 1 month ago | |
| rust-toolchain.toml | 1 month ago | |