hourglass: ensure clean screen on disabled bg save

hide() has no effect with disabled bg save
This commit is contained in:
2021-11-02 10:34:03 +01:00
parent 87aa258771
commit 4354b23cc1

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();