Cleanup: clang-format

This commit is contained in:
Campbell Barton 2021-03-22 14:39:39 +11:00
parent dfbaf96753
commit f051146ae6
1 changed files with 6 additions and 6 deletions

View File

@ -118,8 +118,8 @@
- (void)windowDidResize:(NSNotification *)notification
{
//if (![[notification object] inLiveResize]) {
//Send event only once, at end of resize operation (when user has released mouse button)
// if (![[notification object] inLiveResize]) {
// Send event only once, at end of resize operation (when user has released mouse button)
systemCocoa->handleWindowEvent(GHOST_kEventWindowSize, associatedWindow);
//}
/* Live resize, send event, gets handled in wm_window.c.
@ -137,7 +137,7 @@
- (BOOL)windowShouldClose:(id)sender;
{
//Let Blender close the window rather than closing immediately
// Let Blender close the window rather than closing immediately
systemCocoa->handleWindowEvent(GHOST_kEventWindowClose, associatedWindow);
return false;
}
@ -176,7 +176,7 @@
return (associatedWindow->isDialog() || !systemCocoa->hasDialogWindow());
}
//The drag'n'drop dragging destination methods
// The drag'n'drop dragging destination methods
- (NSDragOperation)draggingEntered:(id<NSDraggingInfo>)sender
{
NSPoint mouseLocation = [sender draggingLocation];
@ -191,7 +191,7 @@
else
return NSDragOperationNone;
associatedWindow->setAcceptDragOperation(TRUE); //Drag operation is accepted by default
associatedWindow->setAcceptDragOperation(TRUE); // Drag operation is accepted by default
systemCocoa->handleDraggingEvent(GHOST_kEventDraggingEntered,
m_draggedObjectType,
associatedWindow,
@ -203,7 +203,7 @@
- (BOOL)wantsPeriodicDraggingUpdates
{
return NO; //No need to overflow blender event queue. Events shall be sent only on changes
return NO; // No need to overflow blender event queue. Events shall be sent only on changes
}
- (NSDragOperation)draggingUpdated:(id<NSDraggingInfo>)sender