menue: don't move menu in centered mode to the right; ...

when hintboxes do overlay the menu it looks crooked


Origin commit data
------------------
Branch: ni/coolstream
Commit: 221722bc9e
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-15 (Fri, 15 Sep 2017)

Origin message was:
------------------
- menue: don't move menu in centered mode to the right; ...

when hintboxes do overlay the menu it looks crooked


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-09-15 18:23:31 +02:00
parent 51dde95a4e
commit ed0a6297c9

View File

@@ -1348,7 +1348,7 @@ void CMenuWidget::setMenuPos(const int& menu_width)
case MENU_POS_CENTER:
x = offx + scr_x + ((scr_w - menu_width ) >> 1 );
y = offy + scr_y + ((scr_h - real_h) >> 1 );
x += g_settings.show_menu_hints_line ? DETAILSLINE_WIDTH : 0; //NI
//x += DETAILSLINE_WIDTH;
break;
case MENU_POS_TOP_LEFT: