We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 181c096 commit 70055ddCopy full SHA for 70055dd
Plugin/Plugin.m
@@ -636,6 +636,11 @@ - (void) _drawBadgeWithPressed: (BOOL) pressed
636
// add the gear for the contextual menu, but only if the view is
637
// greater than a certain size
638
639
+ // de-apply the scaling factor first, otherwise drawing will be off
640
+ NSAffineTransform *xformTwo = [NSAffineTransform transform];
641
+ [xformTwo scaleBy: 1/scaleFactor];
642
+ [xformTwo concat];
643
+
644
if ((viewWidth > 32) && (viewHeight > 32)) {
645
float margin = 5.0;
646
NSImage *gearImage = [NSImage imageNamed:@"NSActionTemplate"];
0 commit comments