mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Missing init() call at notification render
This commit is contained in:
@@ -146,6 +146,10 @@ NotificationManager::PopNotification::PopNotification(const NotificationData &n,
|
|||||||
#if ENABLE_NEW_NOTIFICATIONS_FADE_OUT
|
#if ENABLE_NEW_NOTIFICATIONS_FADE_OUT
|
||||||
void NotificationManager::PopNotification::render(GLCanvas3D& canvas, float initial_y, bool move_from_overlay, float overlay_width)
|
void NotificationManager::PopNotification::render(GLCanvas3D& canvas, float initial_y, bool move_from_overlay, float overlay_width)
|
||||||
{
|
{
|
||||||
|
if (!m_initialized) {
|
||||||
|
init();
|
||||||
|
}
|
||||||
|
|
||||||
if (m_hidden) {
|
if (m_hidden) {
|
||||||
m_top_y = initial_y - GAP_WIDTH;
|
m_top_y = initial_y - GAP_WIDTH;
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user