From 55825d38234676f5fb638326de5c9c5243c1b6d6 Mon Sep 17 00:00:00 2001 From: VladV Date: Sun, 30 Jan 2022 18:48:54 +0300 Subject: [PATCH] Replace custom header group image with built-in style --- Editor/Elements/TriBoxGroupElement.cs | 2 +- Editor/Resources/TriInspector_Header_Bg.png | Bin 149 -> 0 bytes .../Resources/TriInspector_Header_Bg.png.meta | 108 ------------------ .../Resources/TriInspector_Header_Bg_Dark.png | Bin 154 -> 0 bytes .../TriInspector_Header_Bg_Dark.png.meta | 108 ------------------ Editor/TriEditorStyles.cs | 21 ---- 6 files changed, 1 insertion(+), 238 deletions(-) delete mode 100644 Editor/Resources/TriInspector_Header_Bg.png delete mode 100644 Editor/Resources/TriInspector_Header_Bg.png.meta delete mode 100644 Editor/Resources/TriInspector_Header_Bg_Dark.png delete mode 100644 Editor/Resources/TriInspector_Header_Bg_Dark.png.meta diff --git a/Editor/Elements/TriBoxGroupElement.cs b/Editor/Elements/TriBoxGroupElement.cs index 0786392..5804782 100644 --- a/Editor/Elements/TriBoxGroupElement.cs +++ b/Editor/Elements/TriBoxGroupElement.cs @@ -27,7 +27,7 @@ namespace TriInspector.Elements protected override void DrawHeader(Rect position) { - TriEditorGUI.DrawBox(position, TriEditorStyles.HeaderBox); + TriEditorGUI.DrawBox(position, TriEditorStyles.TabOnlyOne); var headerLabelRect = new Rect(position) { diff --git a/Editor/Resources/TriInspector_Header_Bg.png b/Editor/Resources/TriInspector_Header_Bg.png deleted file mode 100644 index 0b890b6e78a09510c1f5591c36a605e9e717c094..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 149 zcmeAS@N?(olHy`uVBq!ia0vp^tRT$61|)m))t&+=#^NA%Cx&(BWL^R}Ea{HEjtmSN z`?>!lf>d%ActjR6Fz_7#VaBQ2e9}NcEl(H65Q*^Qm>mTV>)A{Wuqe5>x;~W9>)_kK mwW*!lf>d%ActjR6Fz_7#VaBQ2e9}NceNPw15Q*^Ql!SyI{6{nz0)v7+?eFQ~nR5ET thbJe6+0-