From: Daniel Karbach Date: Tue, 21 Nov 2017 20:28:46 +0000 (+0100) Subject: oh well, at least it catches some dumb stuff X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=320b9f79dcdd2fa9da0370b62f1ec24fa47de967;p=blobs.git oh well, at least it catches some dumb stuff --- diff --git a/src/ui/ui.cpp b/src/ui/ui.cpp index 4a9caf2..7ad47da 100644 --- a/src/ui/ui.cpp +++ b/src/ui/ui.cpp @@ -87,7 +87,7 @@ void CreaturePanel::Draw(app::Assets &assets, graphics::Viewport &viewport) noex const glm::vec2 margin(20.0f); - panel.Position(glm::vec3(viewport.Width() - margin.x - panel.Size().x, margin.y, 0.0f)); + panel.Position(glm::vec2(viewport.Width() - margin.x - panel.Size().x, margin.y)); panel.Draw(assets, viewport); }