aboutsummaryrefslogtreecommitdiff
path: root/src/engine/graphics/statusline.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-23 18:12:39 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:59 +0200
commit18e1db1fb8692752f64d3912c3b5ff1818be9028 (patch)
tree38ccd9b4f29e5b2fa0fc07f84b425aa80378301a /src/engine/graphics/statusline.cpp
parent65ca89da7933b5927e31ca6f29f28a24b2838ebe (diff)
refactor: replace last subscriber patterned code
Diffstat (limited to 'src/engine/graphics/statusline.cpp')
-rw-r--r--src/engine/graphics/statusline.cpp4
1 files changed, 2 insertions, 2 deletions
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<Vector2::Value>(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();
}