ArrowButton(): Fixed arrow shape being horizontally misaligned by (FramePadding.y-FramePadding.x) if they are different.

Demo: Added extra usage of AlignTextToFramePadding() in a more visible section.
This commit is contained in:
omar
2018-09-20 10:24:29 +02:00
parent 0b190f11b9
commit 3d318a6577
3 changed files with 11 additions and 4 deletions

View File

@ -46,7 +46,8 @@ Other Changes:
- DragFloat: Disabled using power curve when one edge is FLT_MAX (broken in 1.61). (#2024)
- DragFloat: Disabled setting a default drag speed when one edge is FLT_MAX. (#2024)
- BeginMenu(): Fixed menu popup horizontal offset being off the item in the menu bar when WindowPadding=0.0f.
- ArrowButton(): Fixed arrow shape being horizontally misaligned by (FramePadding.y-FramePadding.x) if they are different.
-----------------------------------------------------------------------
VERSION 1.65 (Released 2018-09-06)