Page MenuHome

Fix T86463: Colored collection icons don't scale with zoom level
ClosedPublic

Authored by Leon Schittek (lone_noel) on Mar 12 2021, 10:55 PM.

Details

Summary

This patch fixes the issue in T86463 that colored collection icons in the collection search box don't scale according to the zoom level.

The issue was caused by the drawing function for the colored collection icons not allowing to change the size of the icons. This patch addresses that by scaling the icon based on the drawing width.

Comparison

MasterPatch

Test file:

Diff Detail

Repository
rB Blender
Branch
fix-T86463 (branched from master)
Build Status
Buildable 13470
Build 13470: arc lint + arc unit

Event Timeline

Leon Schittek (lone_noel) requested review of this revision.Mar 12 2021, 10:55 PM
Leon Schittek (lone_noel) created this revision.
Leon Schittek (lone_noel) retitled this revision from Fix T86463: Colored collection icons dont scale with zoom level. to Fix T86463: Colored collection icons don't scale with zoom level.Mar 12 2021, 11:03 PM
Leon Schittek (lone_noel) edited the summary of this revision. (Show Details)

Hey @Nathan Craddock (natecraddock), I have a feeling this is pretty straightforward, but maybe you want to look at this one?

@Hans Goudey (HooglyBoogly) thanks for the heads up.

@Leon Schittek (lone_noel) thanks for the patch! I just tested and everything looks good from what I can see.

This revision is now accepted and ready to land.Apr 7 2021, 3:08 AM