1
0
Fork 0

COMPATIBILITY: remove overly-active keyPress

Dieser Commit ist enthalten in:
Angus McLeod 2022-07-18 07:41:28 +01:00
Ursprung c7097d5775
Commit f373e2ad81

Datei anzeigen

@ -90,16 +90,6 @@ export default Component.extend({
this.showMessage(message); this.showMessage(message);
}, },
keyPress(event) {
if (event.key === "Enter") {
if (this.showDoneButton) {
this.send("quit");
} else {
this.send("nextStep");
}
}
},
@discourseComputed("step.index", "wizard.totalSteps") @discourseComputed("step.index", "wizard.totalSteps")
barStyle(displayIndex, totalSteps) { barStyle(displayIndex, totalSteps) {
let ratio = parseFloat(displayIndex) / parseFloat(totalSteps - 1); let ratio = parseFloat(displayIndex) / parseFloat(totalSteps - 1);