From c33c46af84b4117d77987fd6f945a857b5f458c0 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 1/2] Set EFB Auto Brightness to On & 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 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( From 245cc9aadeb99961c0757aec66a4820ddd6d1c07 Mon Sep 17 00:00:00 2001 From: MrJigs7 <188467675+MrJigs7@users.noreply.github.com> Date: Sat, 11 Jan 2025 22:16:45 +0000 Subject: [PATCH 2/2] fix change log conflicts --- .github/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index bd7d750fef5..48e8a481ef2 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -91,8 +91,6 @@ 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) - 1. [A380X/FCU] Fix display of values on FCU during light test - @heclak (Heclak) 1. [A380X/FMS] Fix VLS computation error for CONF 1, might have lead to FMS crashes during climb out - @flogross89 (floridude) 1. [A380X/PFD] Fix PFD DU / ND DU brightness knobs - @MichelZ @@ -118,6 +116,8 @@ 1. [A380X/ND] Remove leading zeros from terrain elevation display - @BravoMike99 (bruno_pt99) 1. [A32NX/FWS] Fix autopilot instinctive disconnect button logic for 3D model - @flogross89 (floridude) 1. [A380X/EFIS] Fix VV pb indicator not turning on when TRK-FPA mode is selected - @heclak (Heclak) +1. [FMS] Transition altitude/level and RNP now come from navdata in MSFS2024 - @tracernz (Mike) +1. [EFB] Set EFB Auto Brightness to default to On - @MrJigs7 (MrJigs) ## 0.12.0