mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
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:
parent
75b04b38f6
commit
996d9b300c
@ -70,7 +70,7 @@ class Menu_view::Cursor : List_model<Cursor>::Element
|
|||||||
|
|
||||||
void _move_to(int position, Steps steps)
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user