Blender Git Loki

Git Commits -> Revision a9642f8

Revision a9642f8 by Leon Leno (master)
November 24, 2021, 20:06 (GMT)
UI: Improve scaling of widgets when zooming

This commit improves the scaling of some ui widgets when
zooming by making the radius of the rounded corners
dependent on the element's zoom level.

Needed to fix T92278 without padding issues, see D13125.

Reviewed By: Hans Goudey, Julian Eisel

Differential Revision: https://developer.blender.org/D12842

Commit Details:

Full Hash: a9642f8d613078b285db4b04efb8bf8e5a234fbb
Parent Commit: 752c6d6
Committed By: Julian Eisel
Lines Changed: +170, -85

4 Modified Paths:

/source/blender/editors/interface/interface_draw.c (+5, -2) (Diff)
/source/blender/editors/interface/interface_intern.h (+4, -1) (Diff)
/source/blender/editors/interface/interface_panel.c (+4, -2) (Diff)
/source/blender/editors/interface/interface_widgets.c (+157, -80) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021