mirror of https://github.com/mpv-player/mpv
cocoa_common: fix style
This commit is contained in:
parent
7c1d707f45
commit
73cd78f8c5
|
@ -817,7 +817,7 @@ int vo_cocoa_cgl_color_size(struct vo *vo)
|
||||||
@synthesize mouseDown = _mouse_down;
|
@synthesize mouseDown = _mouse_down;
|
||||||
// mpv uses flipped coordinates, because X11 uses those. So let's just use them
|
// mpv uses flipped coordinates, because X11 uses those. So let's just use them
|
||||||
// as well without having to do any coordinate conversion of mouse positions.
|
// as well without having to do any coordinate conversion of mouse positions.
|
||||||
- (BOOL) isFlipped { return YES; }
|
- (BOOL)isFlipped { return YES; }
|
||||||
|
|
||||||
- (void)updateTrackingAreas
|
- (void)updateTrackingAreas
|
||||||
{
|
{
|
||||||
|
@ -948,7 +948,7 @@ int vo_cocoa_cgl_color_size(struct vo *vo)
|
||||||
cocoa_put_key_with_modifiers(mp_key | state, [event modifierFlags]);
|
cocoa_put_key_with_modifiers(mp_key | state, [event modifierFlags]);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)drawRect: (NSRect)rect
|
- (void)drawRect:(NSRect)rect
|
||||||
{
|
{
|
||||||
struct vo *vo = [self videoOutput];
|
struct vo *vo = [self videoOutput];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue