mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Stop giving notifications focus on hover.
This commit is contained in:
@@ -215,7 +215,8 @@ void NotificationManager::PopNotification::render(GLCanvas3D& canvas, float init
|
||||
}
|
||||
|
||||
if (mouse_pos.x < win_pos.x && mouse_pos.x > win_pos.x - m_window_width && mouse_pos.y > win_pos.y && mouse_pos.y < win_pos.y + m_window_height) {
|
||||
ImGui::SetNextWindowFocus();
|
||||
// Uncomment if imgui window focus is needed on hover. I cant find any case.
|
||||
//ImGui::SetNextWindowFocus();
|
||||
set_hovered();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user