COMPATIBILITY: remove overly-active keyPress
Dieser Commit ist enthalten in:
Ursprung
c7097d5775
Commit
f373e2ad81
1 geänderte Dateien mit 0 neuen und 10 gelöschten Zeilen
|
@ -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);
|
||||||
|
|
Laden …
In neuem Issue referenzieren