]> git.localhorst.tv Git - blobs.git/commitdiff
oh well, at least it catches some dumb stuff
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 21 Nov 2017 20:28:46 +0000 (21:28 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 21 Nov 2017 20:28:46 +0000 (21:28 +0100)
src/ui/ui.cpp

index 4a9caf265c87fdf44cc4a8d2e5e2c1b6a141df37..7ad47dab4ec34a3f8cbf24726a0ff76664e09bd9 100644 (file)
@@ -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);
 }