aboutsummaryrefslogtreecommitdiff
path: root/src/engine/graphics/statusline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/graphics/statusline.cpp')
-rw-r--r--src/engine/graphics/statusline.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/engine/graphics/statusline.cpp b/src/engine/graphics/statusline.cpp
index a8d0f3b..bc83993 100644
--- a/src/engine/graphics/statusline.cpp
+++ b/src/engine/graphics/statusline.cpp
@@ -58,13 +58,9 @@ auto StatusLine::_move_to_statusline(int32_t x) noexcept -> Vector2
{
const auto previous_position = _cursor_controller->where();
- const auto scene_size = _scene->size();
-
_cursor_controller->hide();
- auto scene_height = static_cast<Vector2::Value>(scene_size.get_height());
-
- _cursor_controller->move_to(Vector2({.x = x, .y = scene_height}));
+ _cursor_controller->move_to(Vector2({.x = x, .y = 0}));
return previous_position;
}