diff options
| author | nea <nea@nea.moe> | 2023-03-26 20:37:26 +0200 |
|---|---|---|
| committer | nea <nea@nea.moe> | 2023-03-26 20:37:26 +0200 |
| commit | cebc8dd666e25f2cc94c1e79953c030894449b70 (patch) | |
| tree | 4b458fc291823ca146ca2b3e617804ec083da069 | |
| parent | 4fe6ceed982cc477fc67d662f2510f9c66792876 (diff) | |
| download | SkyHanni-cebc8dd666e25f2cc94c1e79953c030894449b70.tar.gz SkyHanni-cebc8dd666e25f2cc94c1e79953c030894449b70.tar.bz2 SkyHanni-cebc8dd666e25f2cc94c1e79953c030894449b70.zip | |
Auto focus search
| -rw-r--r-- | build.gradle.kts | 6 | ||||
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/Features.java | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 129362b74..2336ae52a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -71,8 +71,8 @@ dependencies { implementation("com.github.hannibal002:notenoughupdates:4957f0b:all") devenvMod("com.github.hannibal002:notenoughupdates:4957f0b:all") - shadowModImpl("com.github.notenoughupdates:moulconfig:b9c84f5") - devenvMod("com.github.notenoughupdates:moulconfig:b9c84f5:test") + shadowModImpl("com.github.notenoughupdates:moulconfig:423e5b9") + devenvMod("com.github.notenoughupdates:moulconfig:423e5b9:test") } // Minecraft configuration: @@ -147,4 +147,4 @@ compileKotlin.kotlinOptions { val compileTestKotlin: KotlinCompile by tasks compileTestKotlin.kotlinOptions { jvmTarget = "1.8" -}
\ No newline at end of file +} diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java index fcdfe5097..bc7913f37 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Features.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java @@ -16,6 +16,12 @@ public class Features extends Config { public static final ResourceLocation DISCORD = new ResourceLocation("notenoughupdates:social/discord.png"); public static final ResourceLocation GITHUB = new ResourceLocation("notenoughupdates:social/github.png"); + + @Override + public boolean shouldAutoFocusSearchbar() { + return true; + } + @Override public List<Social> getSocials() { return Arrays.asList( |
