GRAPHICS: MACGUI: Don't draw title on thin border
This commit is contained in:
parent
8bc5e73d0a
commit
1352ab6f9f
1 changed files with 4 additions and 0 deletions
|
@ -256,6 +256,10 @@ void MacWindow::drawBorder() {
|
|||
|
||||
if (_macBorder.hasBorder(_active)) {
|
||||
drawBorderFromSurface(g);
|
||||
|
||||
if (_macBorder.getOffset().titleTop == -1 && _macBorder.getOffset().titleBottom == -1)
|
||||
return;
|
||||
|
||||
titleColor = _macBorder.getOffset().dark ? _wm->_colorWhite : _wm->_colorBlack;
|
||||
titleY = _macBorder.getOffset().titleTop;
|
||||
titleHeight = _macBorder.getOffset().top - titleY - _macBorder.getOffset().titleBottom;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue