From c46a7eaa401dde064cc28f5e356822484c733e19 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Sat, 2 Nov 2024 13:51:15 +0100 Subject: [PATCH] disable autofallback checkbox --- scripts/main.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/main.ps1 b/scripts/main.ps1 index 54326bdc..a04337bc 100644 --- a/scripts/main.ps1 +++ b/scripts/main.ps1 @@ -149,6 +149,12 @@ if (Test-Path $ChocoPreferencePath) { $sync.ChocoRadioButton.IsChecked = $true } +$sync.autofallback.IsEnabled = $false +$sync.autofallback.Opacity = 0.5 +$sync.autofallback.ToolTip = "This feature is currently under development." + +[System.Windows.Controls.ToolTipService]::SetShowOnDisabled($sync.autofallback, $true) + $sync.keys | ForEach-Object { if($sync.$psitem) { if($($sync["$psitem"].GetType() | Select-Object -ExpandProperty Name) -eq "ToggleButton") {