Missing init() call at notification render

This commit is contained in:
David Kocik 2020-12-19 09:22:40 +01:00
parent 2fa5828023
commit 593c397b19

View File

@ -146,6 +146,10 @@ NotificationManager::PopNotification::PopNotification(const NotificationData &n,
#if ENABLE_NEW_NOTIFICATIONS_FADE_OUT
void NotificationManager::PopNotification::render(GLCanvas3D& canvas, float initial_y, bool move_from_overlay, float overlay_width)
{
if (!m_initialized) {
init();
}
if (m_hidden) {
m_top_y = initial_y - GAP_WIDTH;
return;