mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-13 05:05:41 +08:00
feat(flightlab): add seatbelt phases to stepper and escape shortcuts
This commit is contained in:
@@ -33,7 +33,7 @@ export function useFlightLabEngine(scenario: FlightLabScenario) {
|
||||
const currentPhase = computed(() => phasesMap.value.get(currentPhaseId.value) ?? null)
|
||||
|
||||
// Count only main phases (not comfort/info branches) for progress
|
||||
const mainPhaseIds = ['welcome', 'briefing', 'runway', 'engines_pre', 'engines_spool', 'takeoff_roll', 'rotation', 'gear_retract', 'climb', 'climb_high', 'leveloff', 'debrief', 'end']
|
||||
const mainPhaseIds = ['welcome', 'seatbelt_on', 'briefing', 'runway', 'engines_pre', 'engines_spool', 'takeoff_roll', 'rotation', 'gear_retract', 'climb', 'climb_high', 'leveloff', 'seatbelt_off', 'debrief', 'end']
|
||||
|
||||
const progress = computed(() => {
|
||||
const idx = mainPhaseIds.indexOf(currentPhaseId.value)
|
||||
|
||||
@@ -126,9 +126,9 @@ export const takeoffEddf: FlightLabScenario = {
|
||||
buttons: [
|
||||
{
|
||||
id: 'seatbelt_on_done',
|
||||
label: 'Seat Belt Signs sind EIN',
|
||||
label: 'Seat Belt Signs sind EIN (warte auf Bestätigung)',
|
||||
icon: 'mdi-seatbelt',
|
||||
next: 'briefing',
|
||||
next: 'seatbelt_on',
|
||||
type: 'primary'
|
||||
},
|
||||
],
|
||||
@@ -748,9 +748,9 @@ export const takeoffEddf: FlightLabScenario = {
|
||||
buttons: [
|
||||
{
|
||||
id: 'seatbelt_off_done',
|
||||
label: 'Seat Belt Signs sind AUS',
|
||||
label: 'Seat Belt Signs sind AUS (warte auf Bestätigung)',
|
||||
icon: 'mdi-seatbelt',
|
||||
next: 'debrief',
|
||||
next: 'seatbelt_off',
|
||||
type: 'primary'
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user