Make hexagons reappear

This commit is contained in:
nik012003
2023-02-26 18:22:17 +01:00
committed by Nova
parent ba4e86ad79
commit fc1d0979a8
3 changed files with 35 additions and 27 deletions

View File

@@ -147,7 +147,7 @@ impl App {
text_align: Alignment::XCenter | Alignment::YCenter,
..Default::default()
};
let protostar = ProtoStar::create_from_desktop_file(parent, desktop_file.clone()).ok()?;
let protostar = ProtoStar::create_from_desktop_file(parent, position, desktop_file.clone()).ok()?;
let text = Text::create(
protostar.content_parent(),
Transform::from_position_rotation([0.0, 0.0, 0.004], Quat::from_rotation_y(3.14)),