Update autobuyers values on enter (fixes #1278)

This commit is contained in:
stampyzfanz 2023-08-13 07:55:46 +10:00 committed by cyip92
parent acc5b974ce
commit 2e68609d4d

View File

@ -69,7 +69,7 @@ export default {
handleFocus() {
this.isFocused = true;
},
handleBlur() {
updateAutobuyerValue() {
if (this.displayValue === "69") {
SecretAchievement(28).unlock();
}
@ -80,8 +80,11 @@ export default {
}
this.updateDisplayValue();
this.isValid = true;
},
handleBlur() {
this.updateActualValue();
this.isFocused = false;
}
},
}
};
@ -143,6 +146,7 @@ export const AutobuyerInputFunctions = {
:type="inputType"
class="o-autobuyer-input"
@blur="handleBlur"
@change="updateAutobuyerValue"
@focus="handleFocus"
@input="handleInput"
>