Browse Source

Expend the layouts by default

Signed-off-by: shedaniel <daniel@shedaniel.me>
shedaniel 5 years ago
parent
commit
ec0fed8f93
2 changed files with 2 additions and 2 deletions
  1. 1 1
      gradle.properties
  2. 1 1
      src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java

+ 1 - 1
gradle.properties

@@ -1,5 +1,5 @@
 org.gradle.jvmargs=-Xmx3G
 org.gradle.jvmargs=-Xmx3G
-mod_version=4.5.3
+mod_version=4.5.4
 supported_version=1.16
 supported_version=1.16
 minecraft_version=1.16-rc1
 minecraft_version=1.16-rc1
 yarn_version=1.16-rc1+build.4+legacy.20w09a+build.8
 yarn_version=1.16-rc1+build.4+legacy.20w09a+build.8

+ 1 - 1
src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java

@@ -369,7 +369,7 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData {
         @UseSpecialRecipeTypeScreen private RecipeScreenType recipeScreenType = RecipeScreenType.UNSET;
         @UseSpecialRecipeTypeScreen private RecipeScreenType recipeScreenType = RecipeScreenType.UNSET;
         @Comment("Declares the appearance of REI windows.") @ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON)
         @Comment("Declares the appearance of REI windows.") @ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON)
         private AppearanceTheme theme = AppearanceTheme.LIGHT;
         private AppearanceTheme theme = AppearanceTheme.LIGHT;
-        @ConfigEntry.Gui.CollapsibleObject
+        @ConfigEntry.Gui.CollapsibleObject(startExpanded = true)
         private Layout layout = new Layout();
         private Layout layout = new Layout();
         @Comment("Declares the appearance of recipe's border.") @ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON)
         @Comment("Declares the appearance of recipe's border.") @ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON)
         private RecipeBorderType recipeBorder = RecipeBorderType.DEFAULT;
         private RecipeBorderType recipeBorder = RecipeBorderType.DEFAULT;