diff --git a/atom/browser/ui/cocoa/atom_touch_bar.mm b/atom/browser/ui/cocoa/atom_touch_bar.mm index 95f36cf02d02..97eebf73f688 100644 --- a/atom/browser/ui/cocoa/atom_touch_bar.mm +++ b/atom/browser/ui/cocoa/atom_touch_bar.mm @@ -307,17 +307,17 @@ static NSString* const ImageScrubberItemIdentifier = @"scrubber.image.item"; settings.Get("label", &label); button.title = base::SysUTF8ToNSString(label); - std::string iconPosition = "left"; + std::string iconPosition = "overlay"; settings.Get("iconPosition", &iconPosition); gfx::Image image; if (settings.Get("icon", &image)) { button.image = image.AsNSImage(); - if (iconPosition == "overlay") { - button.imagePosition = NSImageOverlaps; + if (iconPosition == "left") { + button.imagePosition = NSImageLeft; } else if (iconPosition == "right") { button.imagePosition = NSImageRight; } else { - button.imagePosition = NSImageLeft; + button.imagePosition = NSImageOverlaps; } } }