Introduce a binary maximized mode, to help the player from minimizing
First, connect to the onHeightChanged of the ApplicationWindow itself, which is what's bound to. To prevent the player from erroneously minimizing on resize (because we check it's new contentHeight, which is invalid) use a binary flag to record whether the player has been opened.
Please register or sign in to comment