taskmanager: Use more efficient way to calculate the size of albumArtBackground
Before: 1. width: 2-3 divisions, 1 comparison 2. height: 3-2 divisions, 1 comparison After: 1. scaleFactor: 2 divisions, 1 comparison 2. width/height: no division or comparison
Please register or sign in to comment