Use icon for consistency with other touch bar APIs
This commit is contained in:
parent
49d48a4eb0
commit
466c39ed19
2 changed files with 2 additions and 2 deletions
|
@ -601,7 +601,7 @@ static NSString* const ImageScrubberItemIdentifier = @"scrubber.image.item";
|
|||
NSScrubberImageItemView* view = [scrubber makeItemWithIdentifier:ImageScrubberItemIdentifier
|
||||
owner:self];
|
||||
gfx::Image image;
|
||||
if (item.Get("image", &image)) {
|
||||
if (item.Get("icon", &image)) {
|
||||
view.image = image.AsNSImage();
|
||||
}
|
||||
itemView = view;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue