File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ of this software and associated documentation files (the "Software"), to deal
47
47
static NSString *sAutoLoadInvisibleFlashViewsKey = @" autoLoadInvisibleViews" ;
48
48
static NSString *sPluginEnabled = @" pluginEnabled" ;
49
49
static NSString *sApplicationWhitelist = @" applicationWhitelist" ;
50
+ static NSString *sDrawGearImageOnlyOnMouseOverHiddenPref = @" drawGearImageOnlyOnMouseOver" ;
50
51
51
52
BOOL usingMATrackingArea = NO ;
52
53
@@ -869,8 +870,12 @@ - (void) _drawBackground
869
870
[ self _drawBadgeWithPressed: mouseIsDown && mouseInside ];
870
871
871
872
// Draw the gear icon
872
- if ( mouseInside && !mouseIsDown )
873
- [ self _drawGearIcon ];
873
+ if ([[CTFUserDefaultsController standardUserDefaults ] boolForKey: sDrawGearImageOnlyOnMouseOverHiddenPref ]) {
874
+ if ( mouseInside && !mouseIsDown )
875
+ [ self _drawGearIcon ];
876
+ } else {
877
+ [ self _drawGearIcon ];
878
+ }
874
879
}
875
880
876
881
- (void ) _addTrackingAreaForCTF
You can’t perform that action at this time.
0 commit comments