fix(color): progress bar dialog window may be clipped on TX16S Mk3 (#7378)
This commit is contained in:
@@ -76,7 +76,7 @@ ProgressDialog::ProgressDialog(const char* title,
|
||||
std::function<void()> onClose) :
|
||||
BaseDialog(title, false), onClose(std::move(onClose))
|
||||
{
|
||||
progress = new Progress(form, rect_t{0, 0, LV_PCT(100), 32});
|
||||
progress = new Progress(form, rect_t{0, 0, LV_PCT(100), EdgeTxStyles::UI_ELEMENT_HEIGHT});
|
||||
updateProgress(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user