mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
* CComponentsInfoBox: Small display bug fixed
This commit is contained in:
@@ -103,7 +103,7 @@ class CComponentsInfoBox : public CComponents
|
||||
|
||||
void paint(bool do_save_bg = true, bool fullPaint = false);
|
||||
void hide();
|
||||
void restore(bool clear_);
|
||||
void restore(bool clear_ = true);
|
||||
void setColor(fb_pixel_t color_frame, fb_pixel_t color_body, fb_pixel_t color_shadow){col_frame = color_frame; col_body = color_body; col_shadow = color_shadow;};
|
||||
};
|
||||
|
||||
|
@@ -1079,7 +1079,7 @@ void CMenuWidget::paintHint(int pos)
|
||||
/* clear info box */
|
||||
if (info_box != NULL)
|
||||
if (pos == -1)
|
||||
info_box->restore(true);
|
||||
info_box->restore();
|
||||
hint_painted = false;
|
||||
}
|
||||
if (pos < 0)
|
||||
@@ -1090,7 +1090,7 @@ void CMenuWidget::paintHint(int pos)
|
||||
|
||||
if (item->hintIcon.empty() && item->hint == NONEXISTANT_LOCALE) {
|
||||
if (info_box != NULL)
|
||||
info_box->restore(false);
|
||||
info_box->restore();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user