UI: Panel Chevron Positioning #117680

Merged
Harley Acheson merged 1 commits from Harley/blender:PanelChevron into main 2024-01-31 00:30:15 +01:00
1 changed files with 2 additions and 2 deletions

View File

@ -1095,10 +1095,10 @@ static void panel_draw_aligned_widgets(const uiStyle *style,
const float size_y = BLI_rcti_size_y(&widget_rect);
GPU_blend(GPU_BLEND_ALPHA);
UI_icon_draw_ex(widget_rect.xmin + size_y * 0.2f,
widget_rect.ymin + size_y * 0.13f,
widget_rect.ymin + size_y * (UI_panel_is_closed(panel) ? 0.17f : 0.14f),
UI_panel_is_closed(panel) ? ICON_RIGHTARROW : ICON_DOWNARROW_HLT,
aspect * UI_INV_SCALE_FAC,
0.7f,
0.8f,
0.0f,
title_color,
false,