Skip to content

Commit fa2f59e

Browse files
committed
Use NSTableViewStylePlain for completion menu when running on macOS 11
1 parent eae8aa9 commit fa2f59e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Commands/popup/TMDIncrementalPopUpMenu.mm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ - (void)setupInterface
155155
[theTableView setDoubleAction:@selector(didDoubleClickRow:)];
156156
[theTableView setTarget:self];
157157

158+
if(@available(macos 11.0, *))
159+
theTableView.style = NSTableViewStylePlain;
160+
158161
NSTableColumn* column = [[NSTableColumn alloc] initWithIdentifier:@"display"];
159162
[theTableView addTableColumn:column];
160163

0 commit comments

Comments
 (0)