mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-29 01:11:30 -06:00
Compare commits
2 Commits
e0e8daf4e2
...
5514025577
Author | SHA1 | Date | |
---|---|---|---|
|
5514025577 | ||
|
c46a7eaa40 |
@ -18,7 +18,7 @@ function Set-CategoryVisibility {
|
||||
[string]$overrideState
|
||||
)
|
||||
|
||||
switch ($overrideState){
|
||||
switch ($overrideState) {
|
||||
"Expand" {$state = $true}
|
||||
"Collapse" {$state = $false}
|
||||
default {$state = $sync.CompactView}
|
||||
|
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user