mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] fix line drawing in recent connections window
This commit is contained in:
@@ -209,7 +209,7 @@ int Render::ShowRecentConnections() {
|
|||||||
ImVec2 line_end = ImVec2(
|
ImVec2 line_end = ImVec2(
|
||||||
image_screen_pos.x + recent_connection_image_width_ + 20.0f,
|
image_screen_pos.x + recent_connection_image_width_ + 20.0f,
|
||||||
image_screen_pos.y + recent_connection_image_height_ + button_height);
|
image_screen_pos.y + recent_connection_image_height_ + button_height);
|
||||||
ImGui::GetForegroundDrawList()->AddLine(line_start, line_end,
|
ImGui::GetWindowDrawList()->AddLine(line_start, line_end,
|
||||||
IM_COL32(0, 0, 0, 122), 1.0f);
|
IM_COL32(0, 0, 0, 122), 1.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user