Merge pull request #1105 from Caraxi/LessCrapCopyLog

Remove `---------------------` when copying from log window
This commit is contained in:
goat 2023-02-05 13:11:05 +01:00 committed by GitHub
commit 4290a072b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -301,7 +301,7 @@ internal class ConsoleWindow : Window, IDisposable
{
var line = this.LogEntries[i];
if (!line.IsMultiline)
if (!line.IsMultiline && !copy)
ImGui.Separator();
ImGui.PushStyleColor(ImGuiCol.Header, this.GetColorForLogEventLevel(line.Level));