Slightly smaller triangle collapse icon on panels
This commit is contained in:
parent
70a3b7e70c
commit
b2a2983d14
Notes:
blender-bot
2024-04-29 13:07:32 +02:00
Referenced by issue #55177, Pose mode manipulators do not show up on the right orientation/location Referenced by issue #55178, Cursor icon doesn't change back when you right-click to undo Referenced by issue #55179, Camera doesn't display limits
|
@ -753,12 +753,12 @@ void ui_draw_aligned_panel(uiStyle *style, uiBlock *block, const rcti *rect, con
|
|||
/* draw collapse icon */
|
||||
|
||||
/* itemrect smaller */
|
||||
itemrect.xmin = headrect.xmin + 5.0f / block->aspect;
|
||||
itemrect.xmin = headrect.xmin + 3.0f / block->aspect;
|
||||
itemrect.xmax = itemrect.xmin + BLI_rcti_size_y(&headrect);
|
||||
itemrect.ymin = headrect.ymin;
|
||||
itemrect.ymax = headrect.ymax;
|
||||
|
||||
BLI_rctf_scale(&itemrect, 0.35f);
|
||||
BLI_rctf_scale(&itemrect, 0.25f);
|
||||
|
||||
if (is_closed_y)
|
||||
ui_draw_tria_rect(&itemrect, 'h');
|
||||
|
|
Loading…
Reference in New Issue