Closed mworzala closed 2 years ago
I will probably postpone #183 to way later since it’s not that high of the priority. If you can just hide traffic lights really quick without changing their position, just go ahead, I don’t want to be a blocker
I added a temporary way to toggle the traffic lights. I am unsure what is going on with the drawing rect. When setting full size content view the titlebar goes away, but the content is not shifted up to fill the gap until you resize the window manually. Then it seems to work from then on out.
eg. CMD-T and note the gap at the top, then resize and it is fixed. The issue appears on main
as well, but it's less obvious (It happens in the Transparent
setting).
I suggest we focus on creating new windows, not switching styles on existing one. I think it’s a more realistic use-case (you usually know what type of window you want, instead of deciding on the fly).
For that use-case this PR seems to work good, so let’s merge it.
Makes the following changes:
WindowMac#setTitleVisible(boolean)
Seeing an issue with setTitlebarVisible currently, and waiting on a way to hide traffic lights from #183