mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-10 06:02:13 +00:00
Update autobuyers values on enter (fixes #1278)
This commit is contained in:
parent
acc5b974ce
commit
2e68609d4d
@ -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"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user