Menus: fixed BeginMenu() child popup position when used inside a line with a baseline offset.

This commit is contained in:
ocornut
2025-11-27 21:48:10 +01:00
parent 3ff8c466bf
commit 2026e3db88
2 changed files with 9 additions and 6 deletions

View File

@@ -51,7 +51,9 @@ Other Changes:
- Textures:
- Fixed a building issue when ImTextureID is defined as a struct.
- Fixed displaying texture # in Metrics/Debugger window.
- Menus: fixed MenuItem() label baseline when using inside a line with an offset.
- Menus:
- Fixed MenuItem() label position and BeginMenu() arrow/icon/popup positions,
when used inside a line with a baseline offset.
- Scrollbar: fixed a codepath leading to a divide-by-zero (which would not be
noticeable by user but detected by sanitizers). (#9089) [@judicaelclair]
- Backends: