validate

private fun validate()(source)

Lazily validates the relative sizes of the base and the overlays.

This code must not be called in the constructor; it should be deferred to some later point. Calling this in the constructor will cause exceptions, because the constructor is called in the constructor of various actions, and actions are constructor before UI scaling is initialized.

See also https://youtrack.jetbrains.com/issue/IJPL-163887/