Compare commits

..

No commits in common. "0246e80f930a532200f3ba0bf2c0293175c2aa22" and "ca257d9e0184724ca4ae6271e6bbcdc4690e7d33" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ mod apply_mutations;
pub mod colors;
mod deferred_system;
mod ecs_hooks;
pub mod elements;
mod elements;
#[macro_use]
mod events;
#[cfg(feature = "hot_reload")]

View file

@ -196,10 +196,10 @@ pub fn set_attribute(
("text_multiline_alignment", "right") if text.is_some() => {
text.unwrap().justify = JustifyText::Right;
}
("font_size", value) if text.is_some() => {
("text_size", value) if text.is_some() => {
text.unwrap().sections[0].style.font_size = parse_f32(value);
}
("color", value) if text.is_some() => {
("text_color", value) if text.is_some() => {
text.unwrap().sections[0].style.color = parse_color(value);
}
("image_asset_path", value) if image.is_some() => {