浏览代码

Expend the layouts by default

Signed-off-by: shedaniel <daniel@shedaniel.me>
shedaniel 5 年之前
父节点
当前提交
ec0fed8f93
共有 2 个文件被更改,包括 2 次插入2 次删除
  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
-mod_version=4.5.3
+mod_version=4.5.4
 supported_version=1.16
 minecraft_version=1.16-rc1
 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;
         @Comment("Declares the appearance of REI windows.") @ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON)
         private AppearanceTheme theme = AppearanceTheme.LIGHT;
-        @ConfigEntry.Gui.CollapsibleObject
+        @ConfigEntry.Gui.CollapsibleObject(startExpanded = true)
         private Layout layout = new Layout();
         @Comment("Declares the appearance of recipe's border.") @ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON)
         private RecipeBorderType recipeBorder = RecipeBorderType.DEFAULT;