From 9799bd6d717c6409c160a7f3756e29458ea242d9 Mon Sep 17 00:00:00 2001 From: MrJigs7 <188467675+MrJigs7@users.noreply.github.com> Date: Fri, 6 Dec 2024 21:44:54 +0000 Subject: [PATCH] Updated changelog --- .github/CHANGELOG.md | 1 + .../systems/instruments/src/EFB/Settings/Pages/FlyPadPage.tsx | 2 +- fbw-common/src/systems/instruments/src/EFB/Settings/sync.ts | 2 +- .../src/systems/instruments/src/EFB/StatusBar/QuickControls.tsx | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index b2ab327b87bf..95de8c905196 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 0b41ef7efebd..3c747cd143c7 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 491a2281960b..8d016b40ad7b 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 b06e7c3d0a3d..c56e52e91aa8 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(