Fix minor compile error.

This commit is contained in:
ArthurSonzogni 2024-04-07 18:10:52 +02:00
parent 3c9fa60d28
commit e03a0797be
No known key found for this signature in database
GPG Key ID: 41D98248C074CD6C

View File

@ -91,9 +91,9 @@ Component Dropdown(DropdownOption option) {
}
if (!transform) {
transform = [](bool open, Element checkbox_element,
transform = [](bool is_open, Element checkbox_element,
Element radiobox_element) {
if (open) {
if (is_open) {
const int max_height = 12;
return vbox({
checkbox_element,