You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Floats are drawn with DragValue, so a nan opens as inf and is marked edited #10
DESIGN.md §5 says a float is drawn as text through buffered_text, the way a datetime is, because egui::DragValue clamps what it is handed (NaN becomes infinity and the clamp is reported as a change) and rounds what it shows. flyleaf/src/tree.rs (Value::Float arm, around line 904) still draws floats with DragValue; only datetimes go through buffered_text. So a = nan opens as a = inf, marked edited, with nobody having touched it, and a float's spelling is not preserved until edited. packaging/samples/README.md notes the sample file omits nan for this reason; put it back when this is fixed.
Activity