1.9.2: Scene picker icons in light mode will now be drawn as dark icons, instead of light grey
This commit is contained in:
parent
bc63fbe5c3
commit
06420f1ad4
|
|
@ -1,6 +1,13 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
|
||||||
|
## [1.9.2] - 2023-09-18
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Scene picker icons in light mode will now be drawn as dark icons, instead of light grey
|
||||||
|
|
||||||
|
|
||||||
## [1.9.1] - 2023-09-10
|
## [1.9.1] - 2023-09-10
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
||||||
|
|
@ -59,9 +59,19 @@ namespace Module.NavigationTool.Editor.Toolbar
|
||||||
margin = new RectOffset(8, 0, 8, 0)
|
margin = new RectOffset(8, 0, 8, 0)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (EditorGUIUtility.isProSkin)
|
||||||
|
{
|
||||||
iconPlusSmall = EditorGUIUtility.IconContent("d_CreateAddNew");
|
iconPlusSmall = EditorGUIUtility.IconContent("d_CreateAddNew");
|
||||||
iconSceneAdditive = EditorGUIUtility.IconContent("d_winbtn_win_restore_h");
|
iconSceneAdditive = EditorGUIUtility.IconContent("d_winbtn_win_restore_h");
|
||||||
iconSceneSingle = EditorGUIUtility.IconContent("d_winbtn_win_max_h");
|
iconSceneSingle = EditorGUIUtility.IconContent("d_winbtn_win_max_h");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
iconPlusSmall = EditorGUIUtility.IconContent("CreateAddNew");
|
||||||
|
iconSceneAdditive = EditorGUIUtility.IconContent("winbtn_win_restore_h");
|
||||||
|
iconSceneSingle = EditorGUIUtility.IconContent("winbtn_win_max_h");
|
||||||
|
}
|
||||||
|
|
||||||
iconDisconnect = EditorGUIUtility.IconContent("d_CacheServerDisconnected");
|
iconDisconnect = EditorGUIUtility.IconContent("d_CacheServerDisconnected");
|
||||||
iconProject = EditorGUIUtility.IconContent("Project");
|
iconProject = EditorGUIUtility.IconContent("Project");
|
||||||
iconSettings = new GUIContent(EditorGUIUtility.IconContent("Settings"));
|
iconSettings = new GUIContent(EditorGUIUtility.IconContent("Settings"));
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "com.module.navigationtool",
|
"name": "com.module.navigationtool",
|
||||||
"version": "1.9.1",
|
"version": "1.9.2",
|
||||||
"displayName": "Module.NavigationTool",
|
"displayName": "Module.NavigationTool",
|
||||||
"description": "Support for navigation tools, like favorites, history and toolbars",
|
"description": "Support for navigation tools, like favorites, history and toolbars",
|
||||||
"unity": "2019.2",
|
"unity": "2019.2",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue