[webkit-changes] [WebKit/WebKit] 6d738e: [Writing Tools] Initial animations don't clear if ...

megangardner noreply at github.com
Thu Sep 12 09:39:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6d738e331c97841cbf1b897c9e5a6c0caf54c0f3
      https://github.com/WebKit/WebKit/commit/6d738e331c97841cbf1b897c9e5a6c0caf54c0f3
  Author: Megan Gardner <megan_gardner at apple.com>
  Date:   2024-09-12 (Thu, 12 Sep 2024)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/Cocoa/TextAnimationController.mm

  Log Message:
  -----------
  [Writing Tools] Initial animations don't clear if the text replacments come in quickly, like for a list.
https://bugs.webkit.org/show_bug.cgi?id=279474
rdar://135760174

Reviewed by Aditya Keerthi.

If the animations come in too quickly, we don't keep the UUID for the previous initial
animation around, and it ends up animating infinitely. We should clear any initial
animation that is active before starting a new one.

* Source/WebKit/WebProcess/WebPage/Cocoa/TextAnimationController.mm:
(WebKit::TextAnimationController::addInitialTextAnimationForActiveWritingToolsSession):

Canonical link: https://commits.webkit.org/283561@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