mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Simplify ingame.rs, fix adding new entities
Former-commit-id: b5fbf1a0155e8cb2cb7837004b3c0e43ca2ae92e
This commit is contained in:
parent
db910855df
commit
a128abc925
@ -342,6 +342,15 @@ impl Hud {
|
||||
.set(bar_id, ui_widgets);
|
||||
}
|
||||
}
|
||||
// test
|
||||
Text::new("Squarefection")
|
||||
.font_size(20)
|
||||
.color(TEXT_COLOR)
|
||||
.font_id(self.fonts.opensans)
|
||||
.x_y(0.0, 0.0)
|
||||
.position_ingame([0.0, 25.0, 25.0].into())
|
||||
.resolution(20.0)
|
||||
.set(self.ids.temp, ui_widgets);
|
||||
|
||||
// Display debug window.
|
||||
if self.show.debug {
|
||||
|
Loading…
Reference in New Issue
Block a user