We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26bf8ec commit fc4bbd4Copy full SHA for fc4bbd4
SCXcodeMinimap/SCXcodeMinimap.m
@@ -76,7 +76,10 @@ - (id)init
76
if (self = [super init]) {
77
78
[self registerUserDefaults];
79
- [self createMenuItem];
+
80
+ dispatch_async(dispatch_get_main_queue(), ^{
81
+ [self createMenuItem];
82
+ });
83
84
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onDidFinishSetup:) name:IDESourceCodeEditorDidFinishSetupNotification object:nil];
85
}
0 commit comments