Close toasts instantly when Close button is pressed

This commit is contained in:
kobewi 2024-11-03 15:04:50 +01:00
parent 0f5f3bc954
commit cb7304662b
2 changed files with 7 additions and 1 deletions

View file

@ -115,6 +115,7 @@ public:
Control *popup(Control *p_control, Severity p_severity = SEVERITY_INFO, double p_time = 0.0, const String &p_tooltip = String());
void popup_str(const String &p_message, Severity p_severity = SEVERITY_INFO, const String &p_tooltip = String());
void close(Control *p_control);
void instant_close(Control *p_control);
EditorToaster();
~EditorToaster();