From 83e6319643ad33c3bd60cd6c0185b9c306f5f753 Mon Sep 17 00:00:00 2001
From: W2Wizard <63303990+W2Wizard@users.noreply.github.com>
Date: Sun, 13 Jun 2021 22:37:47 +0200
Subject: [PATCH] Adjust debug log tab icon
---
Source/Editor/GUI/Docking/DockPanel.cs | 2 +-
Source/Editor/Windows/DebugLogWindow.cs | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Source/Editor/GUI/Docking/DockPanel.cs b/Source/Editor/GUI/Docking/DockPanel.cs
index f968c2501..0f31759f2 100644
--- a/Source/Editor/GUI/Docking/DockPanel.cs
+++ b/Source/Editor/GUI/Docking/DockPanel.cs
@@ -84,7 +84,7 @@ namespace FlaxEditor.GUI.Docking
///
/// The default tabs header buttons size.
///
- public const float DefaultButtonsSize = 12;
+ public const float DefaultButtonsSize = 15;
///
/// The default tabs header buttons margin.
diff --git a/Source/Editor/Windows/DebugLogWindow.cs b/Source/Editor/Windows/DebugLogWindow.cs
index e95debfff..13f72992c 100644
--- a/Source/Editor/Windows/DebugLogWindow.cs
+++ b/Source/Editor/Windows/DebugLogWindow.cs
@@ -480,15 +480,15 @@ namespace FlaxEditor.Windows
{
if (_iconType == LogType.Warning)
{
- Icon = IconWarning;
+ Icon = Editor.Icons.Warning32;
}
else if (_iconType == LogType.Error)
{
- Icon = IconError;
+ Icon = Editor.Icons.Error32;
}
else
{
- Icon = IconInfo;
+ Icon = Editor.Icons.Info32;
}
}