Bläddra i källkod

Fixed examples and added islands

flabbet 1 år sedan
förälder
incheckning
18957f82b5

BIN
src/PixiEditor/Data/BetaExampleFiles/Island.pixi


BIN
src/PixiEditor/Data/BetaExampleFiles/Stars.pixi


BIN
src/PixiEditor/Data/BetaExampleFiles/Tree.pixi


+ 2 - 1
src/PixiEditor/Data/Localization/Languages/en.json

@@ -720,5 +720,6 @@
   "NO_PARSER_FOUND": "No file parser found for extension '{0}'",
   "SELECT_FILE_FORMAT": "Select file format",
   "SELECT_FILE_FORMAT_DESCRIPTION": "Multiple file types of the same format are supported. Please select the one you want to use.",
-  "NEW_PALETTE_FILE": "palette"
+  "NEW_PALETTE_FILE": "palette",
+  "ISLAND_EXAMPLE": "Islands"
 }

+ 5 - 3
src/PixiEditor/Views/Windows/HelloTherePopup.axaml

@@ -89,7 +89,7 @@
                                                        CloseCommand="{Binding CloseCommand, RelativeSource={RelativeSource AncestorType=windows:HelloTherePopup}}" />
                             <windows:BetaExampleButton FileName="Tree.pixi" DisplayName="TREE_EXAMPLE"
                                                        CloseCommand="{Binding CloseCommand, RelativeSource={RelativeSource AncestorType=windows:HelloTherePopup}}" />
-                            <windows:BetaExampleButton FileName="Stars.pixi" DisplayName="STARS_EXAMPLE"
+                            <windows:BetaExampleButton FileName="Island.pixi" DisplayName="ISLAND_EXAMPLE"
                                                        CloseCommand="{Binding CloseCommand, RelativeSource={RelativeSource AncestorType=windows:HelloTherePopup}}" />
 
                             <StackPanel>
@@ -349,16 +349,18 @@
                                TextAlignment="Center" FontSize="18" FontWeight="SemiBold" />
 
                     <ScrollViewer HorizontalAlignment="Center" VerticalScrollBarVisibility="Auto">
-                        <StackPanel Orientation="Horizontal">
+                        <panels:AlignableWrapPanel>
                             <windows:BetaExampleButton FileName="Pond.pixi" DisplayName="POND_EXAMPLE"
                                                        CloseCommand="{Binding CloseCommand, RelativeSource={RelativeSource AncestorType=windows:HelloTherePopup}}" />
                             <windows:BetaExampleButton FileName="Tree.pixi" DisplayName="TREE_EXAMPLE"
                                                        CloseCommand="{Binding CloseCommand, RelativeSource={RelativeSource AncestorType=windows:HelloTherePopup}}" />
+                            <windows:BetaExampleButton FileName="Island.pixi" DisplayName="ISLAND_EXAMPLE"
+                                                         CloseCommand="{Binding CloseCommand, RelativeSource={RelativeSource AncestorType=windows:HelloTherePopup}}" />
                             <windows:BetaExampleButton FileName="Stars.pixi" DisplayName="STARS_EXAMPLE"
                                                        CloseCommand="{Binding CloseCommand, RelativeSource={RelativeSource AncestorType=windows:HelloTherePopup}}" />
                             <windows:BetaExampleButton FileName="Outline.pixi" DisplayName="OUTLINE_EXAMPLE"
                                                        CloseCommand="{Binding CloseCommand, RelativeSource={RelativeSource AncestorType=windows:HelloTherePopup}}" />
-                        </StackPanel>
+                        </panels:AlignableWrapPanel>
                     </ScrollViewer>
 
                     <TextBlock ui:Translator.Key="BETA_ANIMATIONS" Margin="0,8,0,2" HorizontalAlignment="Center"