UI: Increase Size of Curve Control Points #125786
@ -1811,7 +1811,8 @@ void ui_draw_but_CURVE(ARegion *region, uiBut *but, const uiWidgetColors *wcol,
|
||||
}
|
||||
|
||||
cmp = cuma->curve;
|
||||
const float point_size = max_ff(1.0f, min_ff(UI_SCALE_FAC / but->block->aspect * 4.0f, 4.0f));
|
||||
const float point_size = max_ff(U.pixelsize * 3.0f,
|
||||
min_ff(UI_SCALE_FAC / but->block->aspect * 6.0f, 20.0f));
|
||||
immBegin(GPU_PRIM_POINTS, cuma->totpoint);
|
||||
for (int a = 0; a < cuma->totpoint; a++) {
|
||||
const float fx = rect->xmin + zoomx * (cmp[a].x - offsx);
|
||||
|
Loading…
Reference in New Issue
Block a user