mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] fix connection status display
This commit is contained in:
@@ -39,7 +39,7 @@ int Render::ConnectionStatusWindow() {
|
|||||||
ImGui::SetCursorPosY(connection_status_window_height_ * 2 / 3);
|
ImGui::SetCursorPosY(connection_status_window_height_ * 2 / 3);
|
||||||
} else if (ConnectionStatus::Connected == connection_status_) {
|
} else if (ConnectionStatus::Connected == connection_status_) {
|
||||||
text = localization::p2p_connected[localization_language_index_];
|
text = localization::p2p_connected[localization_language_index_];
|
||||||
show_connection_status_window_ = false;
|
// show_connection_status_window_ = false;
|
||||||
} else if (ConnectionStatus::Disconnected == connection_status_) {
|
} else if (ConnectionStatus::Disconnected == connection_status_) {
|
||||||
text = localization::p2p_disconnected[localization_language_index_];
|
text = localization::p2p_disconnected[localization_language_index_];
|
||||||
ImGui::SetCursorPosX(connection_status_window_width_ * 3 / 7);
|
ImGui::SetCursorPosX(connection_status_window_width_ * 3 / 7);
|
||||||
|
|||||||
2
thirdparty/projectx
vendored
2
thirdparty/projectx
vendored
Submodule thirdparty/projectx updated: 4eac29b6de...e9be021c0f
Reference in New Issue
Block a user