🎨
This commit is contained in:
parent
ecc0478e3c
commit
506b42b563
1 changed files with 2 additions and 1 deletions
|
@ -159,7 +159,8 @@ static NSTouchBarItemIdentifier SliderIdentifier = @"com.electron.touchbar.slide
|
||||||
window_->NotifyTouchBarItemInteraction([item_id UTF8String], details);
|
window_->NotifyTouchBarItemInteraction([item_id UTF8String], details);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSString*)idFromIdentifier:(NSString*)identifier withPrefix:(NSString*)prefix {
|
- (NSString*)idFromIdentifier:(NSString*)identifier
|
||||||
|
withPrefix:(NSString*)prefix {
|
||||||
return [identifier substringFromIndex:[prefix length]];
|
return [identifier substringFromIndex:[prefix length]];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue