mirror of
https://github.com/vladmandic/automatic
synced 2026-09-04 20:10:45 +02:00
Removed old resetting to previous values
This is due to a change in `_js` which lead to the instant updates breaking :( Need to reinvestigate how to actually fix this. For now the broken feature got replaced with a working, but sloooow solution (updates one by one when resetting)
This commit is contained in:
@@ -371,11 +371,6 @@ function markIfModified(setting_name, value) {
|
||||
tab_nav_indicator.title += `${unsaved.size} new default value${unsaved.size > 1 ? 's':''} (not yet saved).`;
|
||||
}
|
||||
|
||||
function onSettingComponentChanged(setting_name, value) {
|
||||
markIfModified(setting_name, value)
|
||||
return []
|
||||
}
|
||||
|
||||
function onSettingsModificationIndicatorClicked(tab_name) {
|
||||
opts_tabs[tab_name].changed.forEach(function(setting_name){
|
||||
// Click each setting's modification indicator
|
||||
@@ -383,11 +378,6 @@ function onSettingsModificationIndicatorClicked(tab_name) {
|
||||
})
|
||||
}
|
||||
|
||||
function onModificationIndicatorClicked(setting_name) {
|
||||
markIfModified(setting_name, opts[setting_name])
|
||||
return JSON.parse(JSON.stringify(opts[setting_name]));
|
||||
}
|
||||
|
||||
let txt2img_textarea;
|
||||
let img2img_textarea;
|
||||
const wait_time = 800;
|
||||
|
||||
Reference in New Issue
Block a user