Tree view expander arrows no longer positioned (vertically centered) correctly
d6a29e1b causes the expanders in Nautilus to be no longer centered vertically in higher zoom levels.
@otte suggested something that works in my case:
expander_size = MIN (expander_size, MIN (area.width, area.height));
if (expander_size > 0)
{
area.x += (area.width - expander_size) / 2;
area.y += (area.height - expander_size) / 2;
area.width = expander_size;
area.height = expander_size;
}
But that is different from what @chergert was going for. https://bugzilla.gnome.org/show_bug.cgi?id=766061 wasn’t particularly enlightening, so I’m hoping that Christian will remember the context for that math and help out here.