mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-08 14:18:29 +02:00
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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user