hourglass: ensure clean screen on disabled bg save

hide() has no effect with disabled bg save


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8dc21b74fd
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-11-04 (Thu, 04 Nov 2021)



------------------
This commit was generated by Migit
This commit is contained in:
2021-11-04 19:38:06 +01:00
committed by vanhofen
parent a0878d60bc
commit 0051138e44

View File

@@ -106,7 +106,10 @@ void CHourGlass::paint(const bool &do_save_bg)
cc_bg_image = frameBuffer->getIconPath(hg_img_files.at(hg_file_num), "png");
hide();
if (do_save_bg)
hide();
else
kill();
if (!hg_timer->isRun())
hg_timer->startTimer();