Skip to content

Commit

Permalink
fix: welcome window icon not being found (#635)
Browse files Browse the repository at this point in the history
* change url in uxml to reference the icon in the packages

* use resource() instead of url()

Co-authored-by: Paul Pacheco <paulpach@gmail.com>

Co-authored-by: Paul Pacheco <paulpach@gmail.com>
  • Loading branch information
erikas-taroza and paulpach committed Feb 23, 2021
1 parent 17a95d3 commit 263a7b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Style src="WelcomeWindow.uss" />
<ui:VisualElement name="Banner">
<ui:Label name="VersionText" text="Placeholder" />
<ui:Image name="Icon" style="background-image: url(&apos;/Assets/Mirage/Editor/WelcomeWindow/Resources/MirageIcon.png&apos;);" />
<ui:Image name="Icon" style="background-image: resource('MirageIcon.png');" />
</ui:VisualElement>
<ui:Label name="Title" text="Welcome to Mirage!" />
<ui:Box name="ColumnContainer">
Expand Down

0 comments on commit 263a7b2

Please sign in to comment.