From df03edb80e10ac067a33218f3bb825113ba2f394 Mon Sep 17 00:00:00 2001 From: "liz.li" Date: Wed, 3 Aug 2022 16:25:29 +0800 Subject: [PATCH] FIX:Notification border rounding Change-Id: I999d89d4417e146dc0c8c0458878bb32f14fb437 --- src/slic3r/GUI/NotificationManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/NotificationManager.cpp b/src/slic3r/GUI/NotificationManager.cpp index 22ab4f64f4..d2683e4ccf 100644 --- a/src/slic3r/GUI/NotificationManager.cpp +++ b/src/slic3r/GUI/NotificationManager.cpp @@ -148,7 +148,7 @@ NotificationManager::PopNotification::PopNotification(const NotificationData &n, m_TextColor = ImVec4(.2f, .2f, .2f, 1.0f); m_HyperTextColor = ImVec4(0.03, 0.6, 0.18, 1); - m_WindowRadius = 4; + m_WindowRadius = 4.0f * wxGetApp().plater()->get_current_canvas3D()->get_scale(); }