fix quickpopup

This commit is contained in:
mat 2023-12-24 17:17:18 -03:00 committed by GitHub
parent cfa6e09e46
commit 941042999b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,8 +30,7 @@ public:
auto inst = new QuickPopup;
inst->m_selected = selected;
inst->m_cancelledByEscape = cancelledByEscape;
// TODO: idk what 9th param is
if (inst && inst->init(inst, title, content, btn1, btn2, width, false, .0f, .0f)) {
if (inst && inst->init(inst, title, content, btn1, btn2, width, false, .0f, 1.0f)) {
inst->autorelease();
return inst;
}