mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 22:20:20 +00:00
4fff0ce837
# Objective - When using `Color::hex` for the first time, I was confused by the fact that I can't specify colors using #, which is much more familiar. - In the code editor (if there is support) there is a preview of the color, which is very convenient. ![Снимок экрана от 2022-12-30 02-54-00](https://user-images.githubusercontent.com/69102503/209990973-f6fc3bc6-08f6-4e51-a9a9-1de8a675c82d.png) ## Solution - Allow you to enter colors like `#ff33f2` and use the `.strip_prefix` method to delete the `#` character. |
||
---|---|---|
.. | ||
3d_scene.rs | ||
3d_shapes.rs | ||
bloom.rs | ||
fxaa.rs | ||
lighting.rs | ||
lines.rs | ||
load_gltf.rs | ||
msaa.rs | ||
orthographic.rs | ||
parenting.rs | ||
pbr.rs | ||
render_to_texture.rs | ||
shadow_biases.rs | ||
shadow_caster_receiver.rs | ||
skybox.rs | ||
spherical_area_lights.rs | ||
split_screen.rs | ||
spotlight.rs | ||
texture.rs | ||
transparency_3d.rs | ||
two_passes.rs | ||
update_gltf_scene.rs | ||
vertex_colors.rs | ||
wireframe.rs |