mirror of https://github.com/mpv-player/mpv
mac: add rotation menubar entries
This commit is contained in:
parent
947800ceb8
commit
eb71aa059a
|
@ -294,6 +294,28 @@
|
|||
@"cmd" : @"set video-aspect-override \"-1\""
|
||||
}],
|
||||
@{ @"name": @"separator" },
|
||||
[NSMutableDictionary dictionaryWithDictionary:@{
|
||||
@"name" : @"Rotate Left",
|
||||
@"action" : @"cmd:",
|
||||
@"key" : @"",
|
||||
@"target" : self,
|
||||
@"cmd" : @"cycle-values video-rotate 0 270 180 90"
|
||||
}],
|
||||
[NSMutableDictionary dictionaryWithDictionary:@{
|
||||
@"name" : @"Rotate Right",
|
||||
@"action" : @"cmd:",
|
||||
@"key" : @"",
|
||||
@"target" : self,
|
||||
@"cmd" : @"cycle-values video-rotate 90 180 270 0"
|
||||
}],
|
||||
[NSMutableDictionary dictionaryWithDictionary:@{
|
||||
@"name" : @"Reset Rotation",
|
||||
@"action" : @"cmd:",
|
||||
@"key" : @"",
|
||||
@"target" : self,
|
||||
@"cmd" : @"set video-rotate 0"
|
||||
}],
|
||||
@{ @"name": @"separator" },
|
||||
[NSMutableDictionary dictionaryWithDictionary:@{
|
||||
@"name" : @"Half Size",
|
||||
@"key" : @"0",
|
||||
|
|
Loading…
Reference in New Issue