Add initial touch bar docs

This commit is contained in:
Kevin Sawicki 2017-03-03 09:54:46 -08:00
parent 81ecd4499c
commit 002369576f
11 changed files with 280 additions and 35 deletions

View file

@ -341,7 +341,7 @@ static NSTouchBarItemIdentifier SliderIdentifier = @"com.electron.touchbar.slide
item.collapsedRepresentationImage = image.AsNSImage();
}
bool showCloseButton;
bool showCloseButton = true;
if (settings.Get("showCloseButton", &showCloseButton)) {
item.showsCloseButton = showCloseButton;
}