NO-OP: whitespace

This commit is contained in:
Robin Gareus 2021-04-27 23:40:45 +02:00
parent d279e2d333
commit d627e00ff6
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -778,15 +778,15 @@ void
AUPluginUI::cocoa_view_resized () AUPluginUI::cocoa_view_resized ()
{ {
/* we can get here for two reasons: /* we can get here for two reasons:
*
1) the plugin window was resized by the user, a new size was * 1) the plugin window was resized by the user, a new size was
allocated to the window, ::update_view_size() was called, and we * allocated to the window, ::update_view_size() was called, and we
explicitly/manually resized the AU NSView. * explicitly/manually resized the AU NSView.
*
2) the plugin decided to resize itself (probably in response to user * 2) the plugin decided to resize itself (probably in response to user
action, but not in response to an actual window resize) * action, but not in response to an actual window resize)
*
We only want to proceed with a window resizing in the second case. * We only want to proceed with a window resizing in the second case.
*/ */
if (in_live_resize) { if (in_live_resize) {
@ -841,9 +841,9 @@ AUPluginUI::cocoa_view_resized ()
NSRect windowFrame= [window frame]; NSRect windowFrame= [window frame];
/* we want the top edge of the window to remain in the same place, /* we want the top edge of the window to remain in the same place,
but the Cocoa/Quartz origin is at the lower left. So, when we make * but the Cocoa/Quartz origin is at the lower left. So, when we make
the window larger, we will move it down, which means shifting the * the window larger, we will move it down, which means shifting the
origin toward (x,0). This will leave the top edge in the same place. * origin toward (x,0). This will leave the top edge in the same place.
*/ */
windowFrame.origin.y -= dy; windowFrame.origin.y -= dy;
@ -854,8 +854,8 @@ AUPluginUI::cocoa_view_resized ()
NSUInteger old_auto_resize = [au_view autoresizingMask]; NSUInteger old_auto_resize = [au_view autoresizingMask];
/* Some stupid AU Views change the origin of the original AU View when /* Some stupid AU Views change the origin of the original AU View when
they are resized (I'm looking at you AUSampler). If the origin has * they are resized (I'm looking at you AUSampler). If the origin has
been moved, move it back. * been moved, move it back.
*/ */
if (last_au_frame.origin.x != new_frame.origin.x || if (last_au_frame.origin.x != new_frame.origin.x ||