commit 7880b024ea819fcd9b474177f7e18f20011f2812
parent 2f808685e8522beb9379ca1c6dc2b1492d25aedd
Author: rhunk <101876869+rhunk@users.noreply.github.com>
Date: Fri, 22 Aug 2025 11:05:05 +0200
fix(core): disable snap splitting
Signed-off-by: rhunk <101876869+rhunk@users.noreply.github.com>
Diffstat:
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/common/src/main/kotlin/me/rhunk/snapenhance/common/config/impl/Global.kt b/common/src/main/kotlin/me/rhunk/snapenhance/common/config/impl/Global.kt
@@ -55,5 +55,5 @@ class Global : ConfigContainer() {
val defaultVolumeControls = boolean("default_volume_controls") { requireRestart() }
val disableTelecomFramework = boolean("disable_telecom_framework") { requireRestart() }
val hideActiveMusic = boolean("hide_active_music") { requireRestart() }
- val disableSnapSplitting = boolean("disable_snap_splitting") { addNotices(FeatureNotice.INTERNAL_BEHAVIOR) }
+ val disableSnapSplitting = boolean("disable_snap_splitting") { addNotices(FeatureNotice.UNSTABLE) }
}
\ No newline at end of file
diff --git a/core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/ConfigurationOverride.kt b/core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/ConfigurationOverride.kt
@@ -54,8 +54,10 @@ class ConfigurationOverride : Feature("Configuration Override") {
{ true })
overrideProperty("REDUCE_MY_PROFILE_UI_COMPLEXITY", { context.config.userInterface.mapFriendNameTags.get() },
{ true })
- overrideProperty("ENABLE_LONG_SNAP_SENDING", { context.config.global.disableSnapSplitting.get() },
- { true })
+
+ arrayOf("DISABLE_SPLIT_RENDER_PASS_CONTROLLER", "ENABLE_LONG_SNAP_SENDING").forEach {
+ overrideProperty(it, { context.config.global.disableSnapSplitting.get() }, { true })
+ }
overrideProperty("DF_VOPERA_FOR_STORIES", { context.config.userInterface.verticalStoryViewer.get() },
{ true }, isAppExperiment = true)