mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
Revert "CMenuWidget: ensure repaint of all header content if it is already painted"
This reverts commitdff5ceee10
. Origin commit data ------------------ Branch: ni/coolstream Commit:a2f9d4b462
Author: Thilo Graf <dbt@novatux.de> Date: 2017-02-02 (Thu, 02 Feb 2017) ------------------ This commit was generated by Migit
This commit is contained in:
@@ -1257,8 +1257,6 @@ void CMenuWidget::paint()
|
|||||||
header->setCaptionColor(COL_MENUHEAD_TEXT);
|
header->setCaptionColor(COL_MENUHEAD_TEXT);
|
||||||
header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0);
|
header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0);
|
||||||
header->enableGradientBgCleanUp(savescreen);
|
header->enableGradientBgCleanUp(savescreen);
|
||||||
if (header->isPainted())
|
|
||||||
header->kill(header->getColorBody());
|
|
||||||
header->paint(CC_SAVE_SCREEN_NO);
|
header->paint(CC_SAVE_SCREEN_NO);
|
||||||
|
|
||||||
// paint body shadow
|
// paint body shadow
|
||||||
|
Reference in New Issue
Block a user