mirror of
https://github.com/electron/electron.git
synced 2026-01-27 00:09:09 -05:00
🔪 Bonus colon
This commit is contained in:
@@ -38,7 +38,7 @@ const NSAutoresizingMaskOptions kDefaultAutoResizingMask =
|
||||
|
||||
- (void)mouseDown:(NSEvent *)event
|
||||
{
|
||||
if ([self.window respondsToSelector:@selector(performWindowDragWithEvent:)]) {
|
||||
if ([self.window respondsToSelector:@selector(performWindowDragWithEvent)]) {
|
||||
[self.window performWindowDragWithEvent:event];
|
||||
return;
|
||||
}
|
||||
@@ -48,7 +48,7 @@ const NSAutoresizingMaskOptions kDefaultAutoResizingMask =
|
||||
|
||||
- (void)mouseDragged:(NSEvent *)theEvent
|
||||
{
|
||||
if ([self.window respondsToSelector:@selector(performWindowDragWithEvent:)]) {
|
||||
if ([self.window respondsToSelector:@selector(performWindowDragWithEvent)]) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user