bevy_prototype_lyon
                                
                                 bevy_prototype_lyon copied to clipboard
                                
                                    bevy_prototype_lyon copied to clipboard
                            
                            
                            
                        Improve ergonomics of DrawMode
It's currently very annoying to update DrawMode because you need to do something if the enum variant doesn't match your expectations even though you know the variant can only ever be X. A better design IMO is to delete DrawMode and turn FillMode + StrokeMode into components. This naturally expresses the idea that they can be ORed together.