mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-16 21:01:46 +08:00
@david suggestion on Notification not steel focus
This commit is contained in:
parent
ffab47dac7
commit
ef420c9b72
@ -203,7 +203,13 @@ void NotificationManager::PopNotification::render(GLCanvas3D& canvas, float init
|
||||
m_id = m_id_provider.allocate_id();
|
||||
std::string name = "!!Ntfctn" + std::to_string(m_id);
|
||||
|
||||
if (imgui.begin(name, ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse)) {
|
||||
int flags = ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoTitleBar |
|
||||
ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize |
|
||||
ImGuiWindowFlags_NoScrollbar |
|
||||
ImGuiWindowFlags_NoScrollWithMouse |
|
||||
ImGuiWindowFlags_NoFocusOnAppearing;
|
||||
|
||||
if (imgui.begin(name, flags)) {
|
||||
ImVec2 win_size = ImGui::GetWindowSize();
|
||||
|
||||
render_left_sign(imgui);
|
||||
|
Loading…
x
Reference in New Issue
Block a user