jakobhellermann / bevy-inspector-egui

Inspector plugin for the bevy game engine
Apache License 2.0
1.15k stars 169 forks source link

Can't display `RangeInclusive<f32>` #206

Open cactusdualcore opened 1 month ago

cactusdualcore commented 1 month ago

This is pretty much just #165, but for the RangeInclusive<f32> type.

I tried adding the Plugin and tried registering the type explicitly, but neither worked.

cactusdualcore commented 1 month ago

The normal Range<f32> works flawlessly though.

Affinator commented 1 month ago

Same problem here. And due to the orphan rule I can not implement the trait for RangeInclusive myself.