last fixes & add notes

This commit is contained in:
MyDrift 2024-08-19 22:46:12 +02:00
parent 6175c0889c
commit c056bbcfe4
2 changed files with 4 additions and 5 deletions

View File

@ -9,11 +9,9 @@ function Invoke-WPFUIElements {
.PARAMETER columncount
The number of columns to be used in the Grid. If not provided, a default value is used based on the panel.
.EXAMPLE
$categoryPanelMap = @{
"Essential Tweaks" = 0
"Customize Preferences" = 1
}
Invoke-WPFUIElements -configVariable $sync.configs.applications -targetGridName "install" -columncount 5
.NOTES
Future me/contributer: If possible please wrap this into a runspace to make it load all panels at the same time.
#>
param(

View File

@ -414,7 +414,8 @@ $sync["SearchBar"].Add_TextChanged({
$inactiveCategories = $allCategories
}
foreach ($category in $inactiveCategories) {
$sync[$category].Visibility = "Collapsed"}
$sync[$category].Visibility = "Collapsed"
}
})
# Initialize the hashtable