MACGUI: Fill in the upper-left and upper-right corners with black

This commit is contained in:
polyesterswing 2024-03-04 22:36:13 +05:30 committed by Eugene Sandulenko
parent a6b0d088c2
commit 9626012752

View File

@ -1004,6 +1004,10 @@ bool MacMenu::draw(ManagedSurface *g, bool forceRedraw) {
_screen.clear(_wm->_colorGreen);
bool shouldUseDesktopArc = !(_wm->_mode & kWMModeWin95) || (_wm->_mode & kWMModeForceMacBorder);
// Fill in the corners with black
_screen.fillRect(r, _wm->_colorBlack);
drawFilledRoundRect(&_screen, r, shouldUseDesktopArc ? kDesktopArc : 0, _wm->_colorWhite);
r.top = 7;