On Fri, 27 Jan 2023 22:01:46 GMT, John Hendrikx <jhendr...@openjdk.org> wrote:

> Can this not be done in a way that doesn't require this `underInitialization` 
> flag?

That's a good idea, and a also a good observation that the constructor only 
really sets `treeVisible` to `true`.
I've updated the PR accordingly, which removes some of the complexity. There's 
no need for additional unit tests, as the expected behavior is already covered 
by `NodeTest.testIsTreeVisible`.

-------------

PR: https://git.openjdk.org/jfx/pull/841

Reply via email to