Integrated: 8290990: Clear .root style class from a root node that is removed from a Scene/SubScene
Michael Strauß
mstrauss at openjdk.org
Thu Jul 28 12:56:41 UTC 2022
On Tue, 26 Jul 2022 02:46:15 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
> When a node is set as the root node of a `Scene` or `SubScene`, the "root" style class is automatically added to the node, but not cleared when the node is later removed from the scene.
>
> This can lead to an incorrectly set "root" style class when the removed node is inserted in the scene graph below the root node, or to duplicate "root" style class entries when the removed node is again set as the root node of the scene.
This pull request has now been integrated.
Changeset: 0b74ee80
Author: Michael Strauß <mstrauss at openjdk.org>
Committer: Kevin Rushforth <kcr at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/0b74ee80e39a2b240eb7776feaea1711dfb29c7a
Stats: 27 lines in 4 files changed: 25 ins; 0 del; 2 mod
8290990: Clear .root style class from a root node that is removed from a Scene/SubScene
Reviewed-by: jhendrikx, aghaisas, mhanl
-------------
PR: https://git.openjdk.org/jfx/pull/849
More information about the openjfx-dev
mailing list