Integrated: 8313956: focusWithin on parents of a newly-added focused node is not updated
Michael Strauß
mstrauss at openjdk.org
Fri Aug 18 22:14:33 UTC 2023
On Tue, 15 Aug 2023 21:32:42 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
> This PR fixes an issue with the way `focusWithin` bits are adjusted in the scene graph. Previously, the `focusWithin` counts of all parents of a removed node would be decreased if the removed node has a non-zero `focusWithin` count. This PR adds logic for the opposite scenario: the `focusWithin` count is increased on all parents of a newly-added node that is already focused (or contains other focused nodes).
This pull request has now been integrated.
Changeset: 2e937bb3
Author: Michael Strauß <mstrauss at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/2e937bb3289682552815f83daffd47c0902307ae
Stats: 95 lines in 2 files changed: 77 ins; 6 del; 12 mod
8313956: focusWithin on parents of a newly-added focused node is not updated
Reviewed-by: jhendrikx, mhanl, angorya
-------------
PR: https://git.openjdk.org/jfx/pull/1210
More information about the openjfx-dev
mailing list