Skip to content

Commit 41c3b51

Browse files
author
Markus
committed
fixed loading uxml from guid
1 parent 8502400 commit 41c3b51

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3333
## [0.1.5] - 2023-07-14
3434
### Added
3535
- categorizedEnumPopup can now frame items
36+
37+
## [0.1.5] - 2023-08-14
38+
### Changed
39+
- fixed loading the uxml from guid

Editor/UIElements/SimpleListView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public abstract class SimpleListView : ListView {
5353
public static VisualTreeAsset HandleBarsPartial {
5454
get {
5555
if (_handleBarsPartial == null) {
56-
_handleBarsPartial = AssetDatabase.LoadAssetAtPath<VisualTreeAsset>(HANDLE_BARS_PARTIAL_GUID);
56+
_handleBarsPartial = AssetDatabase.LoadAssetAtPath<VisualTreeAsset>(AssetDatabase.GUIDToAssetPath(HANDLE_BARS_PARTIAL_GUID));
5757
}
5858
return _handleBarsPartial;
5959
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.gentlymadstudios.editorui",
3-
"version": "0.1.5",
3+
"version": "0.1.6",
44
"displayName": "EditorUI",
55
"description": "Editor UI by Gentlymad Studios.",
66
"unity": "2022.2",

0 commit comments

Comments
 (0)