[webkit-changes] [WebKit/WebKit] a7b53c: [UnifiedPDF] Pinch and keyboard zooming do not dis...

Sammy Gill noreply at github.com
Mon Mar 18 16:14:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a7b53c30f92b3c9864be53a3c9383b066a7620d4
      https://github.com/WebKit/WebKit/commit/a7b53c30f92b3c9864be53a3c9383b066a7620d4
  Author: Sammy Gill <sammy.gill at apple.com>
  Date:   2024-03-18 (Mon, 18 Mar 2024)

  Changed paths:
    M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm

  Log Message:
  -----------
  [UnifiedPDF] Pinch and keyboard zooming do not disable automatically resize option.
https://bugs.webkit.org/show_bug.cgi?id=271088
rdar://problem/124717930

Reviewed by Tim Horton.

When pinch zooming is performed we should stop updating the document
fitting scale. Zooming via keyboard shortcuts should also have the same
beheavior. Let's do this when the page's scale factor has changed so
that it catches both cases.

* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::didBeginMagnificationGesture):

Canonical link: https://commits.webkit.org/276309@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list