From 18e1db1fb8692752f64d3912c3b5ff1818be9028 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 23 May 2022 18:12:39 +0200 Subject: refactor: replace last subscriber patterned code --- src/engine/graphics/statusline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/engine/graphics/statusline.cpp') diff --git a/src/engine/graphics/statusline.cpp b/src/engine/graphics/statusline.cpp index 52edd8f..a8d0f3b 100644 --- a/src/engine/graphics/statusline.cpp +++ b/src/engine/graphics/statusline.cpp @@ -64,14 +64,14 @@ auto StatusLine::_move_to_statusline(int32_t x) noexcept -> Vector2 auto scene_height = static_cast(scene_size.get_height()); - _cursor_controller->move_to(Vector2({.x = x, .y = scene_height}), true); + _cursor_controller->move_to(Vector2({.x = x, .y = scene_height})); return previous_position; } void StatusLine::_move_back(Vector2 previous_position) noexcept { - _cursor_controller->move_to(previous_position, true); + _cursor_controller->move_to(previous_position); _cursor_controller->show(); } -- cgit v1.2.3-18-g5258