Lots of work is duplicated when NonClientIslandWindow is resized and the drag bar size changes #1897
Labels
Area-User Interface
Issues pertaining to the user interface of the Console or Terminal
Issue-Task
It's a feature request, but it doesn't really need a major design.
Needs-Tag-Fix
Doesn't match tag requirements
Product-Terminal
The new Windows Terminal.
Resolution-Fix-Committed
Fix is checked in, but it might be 3-4 weeks until a release.
Milestone
This is work that's following on from work that's being done for #1625.
I'm pulling the code for updating the drag region out of
NonClientIslandWindow::OnSize
into its own method. Unfortunately, both these methods need to do the following block of work:Doing this twice is clearly ridiculous, and more likely than not, wrong.
I'm thinking that on the resize, we could probably just cache some of these values. I think this will also important for dealing with maximizing, cause I
thinkknow the maximize borders are wrong on non-primary displays.The text was updated successfully, but these errors were encountered: