diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index b2ab327b87b..95de8c90519 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -85,6 +85,7 @@ 1. [A380X/LIGHTS] Fix function of FCU brightness knobs - @heclak (Heclak) 1. [A380X/FWS] Fix "NO ZFW OR ZFWCG DATA" ECAM alert after landing - @flogross89 (floridude) 1. [A380X/SD] Add brake temperature color change to amber when brakes are hot - @heclak (Heclak) +1. [EFB] Set EFB Auto Brightness to default to On - @MrJigs7 (MrJigs) ## 0.12.0 diff --git a/fbw-common/src/systems/instruments/src/EFB/Settings/Pages/FlyPadPage.tsx b/fbw-common/src/systems/instruments/src/EFB/Settings/Pages/FlyPadPage.tsx index 0b41ef7efeb..3c747cd143c 100644 --- a/fbw-common/src/systems/instruments/src/EFB/Settings/Pages/FlyPadPage.tsx +++ b/fbw-common/src/systems/instruments/src/EFB/Settings/Pages/FlyPadPage.tsx @@ -17,7 +17,7 @@ import { languageOptions, tt } from '../../Localization/translation'; export const FlyPadPage = () => { const [brightnessSetting, setBrightnessSetting] = usePersistentNumberProperty('EFB_BRIGHTNESS', 0); const [brightness] = useSimVar('L:A32NX_EFB_BRIGHTNESS', 'number', 500); - const [usingAutobrightness, setUsingAutobrightness] = usePersistentNumberProperty('EFB_USING_AUTOBRIGHTNESS', 0); + const [usingAutobrightness, setUsingAutobrightness] = usePersistentNumberProperty('EFB_USING_AUTOBRIGHTNESS', 1); const [theme, setTheme] = usePersistentProperty('EFB_UI_THEME', 'blue'); const [autoOSK, setAutoOSK] = usePersistentNumberProperty('EFB_AUTO_OSK', 0); const [timeDisplayed, setTimeDisplayed] = usePersistentProperty('EFB_TIME_DISPLAYED', 'utc'); diff --git a/fbw-common/src/systems/instruments/src/EFB/Settings/sync.ts b/fbw-common/src/systems/instruments/src/EFB/Settings/sync.ts index 491a2281960..8d016b40ad7 100644 --- a/fbw-common/src/systems/instruments/src/EFB/Settings/sync.ts +++ b/fbw-common/src/systems/instruments/src/EFB/Settings/sync.ts @@ -37,7 +37,7 @@ export const globalSyncedSettings: SyncedSettingDefinition[] = [ configKey: 'EFB_USING_AUTOBRIGHTNESS', localVarName: 'L:A32NX_EFB_USING_AUTOBRIGHTNESS', localVarUnit: 'bool', - defaultValue: '0', + defaultValue: '1', }, { configKey: 'CABIN_MANUAL_BRIGHTNESS', localVarName: 'L:A32NX_CABIN_MANUAL_BRIGHTNESS', defaultValue: '0' }, { diff --git a/fbw-common/src/systems/instruments/src/EFB/StatusBar/QuickControls.tsx b/fbw-common/src/systems/instruments/src/EFB/StatusBar/QuickControls.tsx index b06e7c3d0a3..c56e52e91aa 100644 --- a/fbw-common/src/systems/instruments/src/EFB/StatusBar/QuickControls.tsx +++ b/fbw-common/src/systems/instruments/src/EFB/StatusBar/QuickControls.tsx @@ -176,7 +176,7 @@ export const QuickControlsPane = ({ const [brightnessSetting, setBrightnessSetting] = usePersistentNumberProperty('EFB_BRIGHTNESS', 0); const [brightness] = useSimVar('L:A32NX_EFB_BRIGHTNESS', 'number', 500); - const [usingAutobrightness, setUsingAutobrightness] = usePersistentNumberProperty('EFB_USING_AUTOBRIGHTNESS', 0); + const [usingAutobrightness, setUsingAutobrightness] = usePersistentNumberProperty('EFB_USING_AUTOBRIGHTNESS', 1); const [cabinAutoBrightness] = useSimVar('L:A32NX_CABIN_AUTOBRIGHTNESS', 'number', 500); const [cabinManualBrightness, setCabinManualBrightness] = usePersistentNumberProperty('CABIN_MANUAL_BRIGHTNESS', 0); const [usingCabinAutobrightness, setUsingCabinAutobrightness] = usePersistentNumberProperty(