Update animation when presenting QuickLook
<rdar://problem/39652624>
Created attachment 340402 [details] Patch
Comment on attachment 340402 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=340402&action=review > Source/WebKit/UIProcess/Cocoa/SystemPreviewControllerCocoa.mm:142 > + frame = CGRectMake(CGRectGetMidX(frame) - 5, CGRectGetMidY(frame) - 5, 10, 10); You should make 10 a named constant and replace 5 with half that value.
Comment on attachment 340402 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=340402&action=review >> Source/WebKit/UIProcess/Cocoa/SystemPreviewControllerCocoa.mm:142 >> + frame = CGRectMake(CGRectGetMidX(frame) - 5, CGRectGetMidY(frame) - 5, 10, 10); > > You should make 10 a named constant and replace 5 with half that value. I think I'll make the rect 50% of the width and height instead.
Committed r231797: <https://trac.webkit.org/changeset/231797>