mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
fixed bug that datetime was not correctly drawn if a submenu implements its own datetime display
This commit is contained in:
@@ -479,15 +479,17 @@ bool cDisplayMenuRootView::RenderDynamicElements(void) {
|
||||
defaultTimeDrawn = true;
|
||||
updated = true;
|
||||
}
|
||||
if (view->DrawDynamicViewElements()){
|
||||
updated = true;
|
||||
|
||||
implemented = false;
|
||||
if (view->DrawDateTime(implemented)) {
|
||||
defaultDateTimeDrawn = false;
|
||||
} else if (!implemented) {
|
||||
DrawDateTime();
|
||||
defaultDateTimeDrawn = true;
|
||||
}
|
||||
|
||||
if (!view->DrawDateTime()) {
|
||||
defaultDateTimeDrawn = true;
|
||||
DrawDateTime();
|
||||
} else {
|
||||
defaultDateTimeDrawn = false;
|
||||
if (view->DrawDynamicViewElements()){
|
||||
updated = true;
|
||||
}
|
||||
|
||||
return updated;
|
||||
|
||||
Reference in New Issue
Block a user