From 5abf94dfbf9f6ce5024ed018b8bc9c8ba9d306b3 Mon Sep 17 00:00:00 2001 From: Imbris Date: Mon, 20 May 2019 01:53:33 -0400 Subject: [PATCH] Simplify ingame.rs, fix adding new entities Former-commit-id: b5fbf1a0155e8cb2cb7837004b3c0e43ca2ae92e --- voxygen/src/hud/mod.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/voxygen/src/hud/mod.rs b/voxygen/src/hud/mod.rs index afad6f18a9..704ee508fa 100644 --- a/voxygen/src/hud/mod.rs +++ b/voxygen/src/hud/mod.rs @@ -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 {