mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 16:04:27 +08:00
FIX: display '?' on a notification(STUDIO-2199)
Change-Id: Id20f287aa1e26571cb416c5f237257418589cf29
This commit is contained in:
parent
a6be285843
commit
688640e808
@ -1112,13 +1112,14 @@ void NotificationManager::PrintHostUploadNotification::render_bar(ImGuiWrapper&
|
||||
}
|
||||
void NotificationManager::PrintHostUploadNotification::render_left_sign(ImGuiWrapper& imgui)
|
||||
{
|
||||
if (m_uj_state == UploadJobState::PB_ERROR) {
|
||||
std::string text;
|
||||
text = ImGui::ErrorMarker;
|
||||
ImGui::SetCursorPosX(m_line_height / 3);
|
||||
ImGui::SetCursorPosY(m_window_height / 2 - m_line_height);
|
||||
imgui.text(text.c_str());
|
||||
}
|
||||
// BBS: do not render left button
|
||||
//if (m_uj_state == UploadJobState::PB_ERROR) {
|
||||
// std::string text;
|
||||
// text = ImGui::ErrorMarker;
|
||||
// ImGui::SetCursorPosX(m_line_height / 3);
|
||||
// ImGui::SetCursorPosY(m_window_height / 2 - m_line_height);
|
||||
// imgui.text(text.c_str());
|
||||
//}
|
||||
}
|
||||
void NotificationManager::PrintHostUploadNotification::render_cancel_button(ImGuiWrapper& imgui, const float win_size_x, const float win_size_y, const float win_pos_x, const float win_pos_y)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user