Blender Git Commit Log

Git Commits -> Revision f682812

Revision f682812 by Hans Goudey (master)
April 27, 2021, 03:23 (GMT)
Fix T87749: Fix text jitter in buttons with icons

This patch fixes the remaining issues described in T87749. The jitter
was caused by inconsistent rounding when using the floats icon_size
and icon_padding to offset the bound for the text drawing. Using
`round_fl_to_int` leads to consistent results and fixes the jitter
that remained in some buttons with icons, UI lists, and breadcrumbs.

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

Commit Details:

Full Hash: f682812f41f0957ac1f72cc105dfc06f250d7755
Parent Commit: fe79935
Lines Changed: +1, -1

1 Modified Path:

/source/blender/editors/interface/interface_widgets.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021