Aevyrie

Results 217 comments of Aevyrie

Looks like `sphere` was moved, and the normalize was removed. We really need tests. Fixed in a patch to 0.13: https://github.com/bevyengine/bevy/pull/12375/files Broken at some point: https://github.com/bevyengine/bevy/blob/c6a89c2187699ed9b8e9b358408c25ca347b9053/crates/bevy_gizmos/src/circles.rs#L215

It's very large and far from the origin. Converting the affine to trs is lossy.

You can use the old propagation system if you'd like. It's likely the case we optimized for (large static scenes) isn't a good fit for what you are doing, and...

@tangmi I was about to try something similar, nice work! For my needs, I was thinking of a different, possibly simpler, approach. I'll expand on that here in the hopes...

> I think I mean some consistent mapping from markup elements to code. E.g. If all widgets provide an "attribute setter" interface Could you implement a trait for each widget...

Something along these lines? https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=a2bca4e72f661bb39783c1c5045b137a

I've made some progress on (my version of) this. I ended up going the route of directly placing variables in the attribute setter calls, e.g.: ``` widget_xyz.spacing(stylesheet.spacing_outer) ``` The stylesheet...

Well, I have a proof of concept working! The iced UI updates immediately when saving the stylesheet. ![image](https://user-images.githubusercontent.com/2632925/87146834-68da3000-c260-11ea-88e9-25786ba0c268.png) (Note the red text) Usage in this case is: ```.color(stylesheet.color(&stylesheet.text_color_h1))``` I can...

@shujaatak Of course. Please excuse the state of the code, it's very much in flux. https://github.com/aevyrie/tolstack/blob/master/src/ui/style.rs I'm not super happy with the verbosity required for a stylesheet - there is...