mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
Add explicit auto compression toggle
This commit is contained in:
8
panel.js
8
panel.js
@@ -1620,6 +1620,10 @@ function _refreshConfigTab() {
|
||||
"bme-setting-sleep-cycle-enabled",
|
||||
settings.enableSleepCycle ?? false,
|
||||
);
|
||||
_setCheckboxValue(
|
||||
"bme-setting-auto-compression-enabled",
|
||||
settings.enableAutoCompression ?? true,
|
||||
);
|
||||
_setCheckboxValue(
|
||||
"bme-setting-prob-recall-enabled",
|
||||
settings.enableProbRecall ?? false,
|
||||
@@ -1944,6 +1948,10 @@ function _bindConfigControls() {
|
||||
_patchSettings({ enableSleepCycle: checked });
|
||||
_refreshGuardedConfigStates();
|
||||
});
|
||||
bindCheckbox("bme-setting-auto-compression-enabled", (checked) => {
|
||||
_patchSettings({ enableAutoCompression: checked });
|
||||
_refreshGuardedConfigStates();
|
||||
});
|
||||
bindCheckbox("bme-setting-prob-recall-enabled", (checked) => {
|
||||
_patchSettings({ enableProbRecall: checked });
|
||||
_refreshGuardedConfigStates();
|
||||
|
||||
Reference in New Issue
Block a user