menu_view: restore horizontal cursor positioning

This is a follow-up fix for "Make util/geometry.h C++20 friendly".

Fixes #5239
Issue #5356
This commit is contained in:
Norman Feske 2024-10-04 17:59:45 +02:00 committed by Christian Helmuth
parent 75b04b38f6
commit 996d9b300c

View File

@ -70,7 +70,7 @@ class Menu_view::Cursor : List_model<Cursor>::Element
void _move_to(int position, Steps steps)
{
_position.move_to(Rect::compound(Point(position, 0), Point()), steps);
_position.move_to(Rect { { position, 0 }, { 1, 1 } }, steps);
}
/*