diff options
author | David Kocik <kocikdav@gmail.com> | 2021-01-07 15:33:05 +0300 |
---|---|---|
committer | David Kocik <kocikdav@gmail.com> | 2021-01-07 15:33:05 +0300 |
commit | df59f9497a63abcdb5cf9633b41035e48dc025ec (patch) | |
tree | 44aae8f5821eb76fd02788ca7e6677d5a21765df | |
parent | c61a6289c595027b40399064c998cdfc3ee5b5a8 (diff) |
request frame with delay when new notification pushed
-rw-r--r-- | src/slic3r/GUI/NotificationManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slic3r/GUI/NotificationManager.cpp b/src/slic3r/GUI/NotificationManager.cpp index 64217ecf0..98cbf1e55 100644 --- a/src/slic3r/GUI/NotificationManager.cpp +++ b/src/slic3r/GUI/NotificationManager.cpp @@ -1233,11 +1233,11 @@ bool NotificationManager::push_notification_data(std::unique_ptr<NotificationMan if (this->activate_existing(notification.get())) { m_pop_notifications.back()->update(notification->get_data()); - canvas.request_extra_frame(); + canvas.request_extra_frame_delayed(33); return false; } else { m_pop_notifications.emplace_back(std::move(notification)); - canvas.request_extra_frame(); + canvas.request_extra_frame_delayed(33); return true; } } |