mirror of
https://gitlab.com/c3d/db48x.git
synced 2024-09-29 05:36:58 +02:00
menus: Do not clip text for hierarchical menus
When we have a hierarchical menu, do not clip the text. Use case: `Length` unit menu now shows its `h`. Fixes: #846 Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
This commit is contained in:
parent
9484413d55
commit
b06c1cf9d1
2 changed files with 2 additions and 2 deletions
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.7 KiB |
|
@ -1278,7 +1278,7 @@ bool user_interface::draw_menus()
|
|||
mcw -= mkw;
|
||||
if (alignLeft)
|
||||
trect.x1 += mkw;
|
||||
else
|
||||
else if (marker != L'◥')
|
||||
trect.x2 -= mkw;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue