Fixed screenshot tool
This commit is contained in:
parent
695393392f
commit
26c9be8318
5 changed files with 52 additions and 20 deletions
|
|
@ -123,7 +123,7 @@ template <typename T> class DropDown : public Element {
|
|||
gui.set_post_callback_func([&, i] {
|
||||
*d = i;
|
||||
isOpen = false;
|
||||
opts.onClick();
|
||||
if(opts.onClick) opts.onClick();
|
||||
});
|
||||
gui.set_to_layout();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue