diff options
author | HampusM <hampus@hampusmat.com> | 2022-05-23 18:12:39 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:59 +0200 |
commit | 18e1db1fb8692752f64d3912c3b5ff1818be9028 (patch) | |
tree | 38ccd9b4f29e5b2fa0fc07f84b425aa80378301a /src/engine/graphics | |
parent | 65ca89da7933b5927e31ca6f29f28a24b2838ebe (diff) |
refactor: replace last subscriber patterned code
Diffstat (limited to 'src/engine/graphics')
-rw-r--r-- | src/engine/graphics/statusline.cpp | 4 |
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(); } |