0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 19:42:24 +02:00

mac: add rotation menubar entries

This commit is contained in:
der richter 2023-11-20 16:26:21 +01:00
parent 947800ceb8
commit eb71aa059a

View File

@ -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",