diff --git a/Plugins/SimpleFileBrowser/README.txt b/Plugins/SimpleFileBrowser/README.txt index bea8136..9d56a9c 100644 --- a/Plugins/SimpleFileBrowser/README.txt +++ b/Plugins/SimpleFileBrowser/README.txt @@ -1,4 +1,4 @@ -= Simple File Browser (v1.5.9) = += Simple File Browser (v1.6.0) = Online documentation & example code available at: https://github.com/yasirkula/UnitySimpleFileBrowser E-mail: yasirkula@gmail.com diff --git a/Plugins/SimpleFileBrowser/Scripts/FileBrowser.cs b/Plugins/SimpleFileBrowser/Scripts/FileBrowser.cs index ea72ad7..282d1da 100644 --- a/Plugins/SimpleFileBrowser/Scripts/FileBrowser.cs +++ b/Plugins/SimpleFileBrowser/Scripts/FileBrowser.cs @@ -1245,9 +1245,12 @@ private void RefreshSkin() upButton.image.sprite = m_skin.HeaderUpButton; moreOptionsButton.image.sprite = m_skin.HeaderContextMenuButton; - Image windowResizeGizmo = resizeCursorHandler.GetComponent(); - windowResizeGizmo.color = m_skin.WindowResizeGizmoColor; - windowResizeGizmo.sprite = m_skin.WindowResizeGizmo; + if( resizeCursorHandler ) + { + Image windowResizeGizmo = resizeCursorHandler.GetComponent(); + windowResizeGizmo.color = m_skin.WindowResizeGizmoColor; + windowResizeGizmo.sprite = m_skin.WindowResizeGizmo; + } m_skin.ApplyTo( filenameInputField ); m_skin.ApplyTo( pathInputField ); diff --git a/package.json b/package.json index b938c33..ce9a78d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.yasirkula.simplefilebrowser", "displayName": "Simple File Browser", - "version": "1.5.9", + "version": "1.6.0", "documentationUrl": "https://github.com/yasirkula/UnitySimpleFileBrowser", "changelogUrl": "https://github.com/yasirkula/UnitySimpleFileBrowser/releases", "licensesUrl": "https://github.com/yasirkula/UnitySimpleFileBrowser/blob/master/LICENSE.txt",