We currently are using u32 line weights because f32 and f64 don't implement std::hash::Hash which is needed for the options bar UI widgets.
Hint: a starting point for going at this issue is searching the project for "Weight" (in quotes), changing is_integer: false to true, and then trying to go replace all the u32 instances with f32 and f64. We probably want to stick with u64 for the UI widgets and then maybe use f32 for line weights or maybe switch that all over to f64 also. The hard part is finding a solution to the Hash trait, since oddly floats in Rust don't implement it.
We currently are using
u32line weights becausef32andf64don't implementstd::hash::Hashwhich is needed for the options bar UI widgets.Hint: a starting point for going at this issue is searching the project for
"Weight"(in quotes), changingis_integer: falsetotrue, and then trying to go replace all theu32instances withf32andf64. We probably want to stick withu64for the UI widgets and then maybe usef32for line weights or maybe switch that all over tof64also. The hard part is finding a solution to theHashtrait, since oddly floats in Rust don't implement it.