mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-10-08 22:31:27 +00:00
Kitchen sink changes (#5040)
* docs: fix typo in contributing image asset and markdown references * docs: fix typos and grammatical phrasing in documentation * fix(config): correct typographical errors in tweak and app descriptions * fix(scripts): resolve typos and grammatical errors in PowerShell sources * fix: address review feedback on Outlook description, WinUtil capitalization, and grammar
This commit is contained in:
1 parent
22e1dc9b09
commit
d0f7689504
13 files changed
+22
-22
No files matched your search
+4
-4
@@ -37,7 +37,7 @@ $sync.preferences.packagemanager = "Winget"
|
||||
if ($Preset) {
|
||||
Initialize-WinUtilRunspacePool | Out-Null
|
||||
|
||||
# Selects the tweaks from $Preset varible
|
||||
# Selects the tweaks from $Preset variable
|
||||
Update-WinUtilSelections -flatJson $sync.configs.preset.$Preset
|
||||
|
||||
# Run tweaks that were selected by Update-WinUtilSelections
|
||||
@@ -68,7 +68,7 @@ if ($Config) {
|
||||
[xml]$XAML = $inputXML
|
||||
|
||||
# Read the XAML file
|
||||
$readerOperationSuccessful = $false # There's more cases of failure then success.
|
||||
$readerOperationSuccessful = $false # There are more cases of failure than success.
|
||||
$reader = (New-Object System.Xml.XmlNodeReader $xaml)
|
||||
try {
|
||||
$sync["Form"] = [Windows.Markup.XamlReader]::Load( $reader )
|
||||
@@ -92,7 +92,7 @@ if (-NOT ($readerOperationSuccessful)) {
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Setup the Window to follow listen for windows Theme Change events and update the winutil theme
|
||||
# Setup the Window to listen for Windows Theme Change events and update the WinUtil theme
|
||||
# throttle logic needed, because windows seems to send more than one theme change event per change
|
||||
$lastThemeChangeTime = [datetime]::MinValue
|
||||
$debounceInterval = [timespan]::FromSeconds(2)
|
||||
@@ -319,7 +319,7 @@ $sync["Form"].Add_ContentRendered({
|
||||
})
|
||||
|
||||
# The SearchBarTimer is used to delay the search operation until the user has stopped typing for a short period
|
||||
# This prevents the ui from stuttering when the user types quickly as it dosnt need to update the ui for every keystroke
|
||||
# This prevents the ui from stuttering when the user types quickly as it doesn't need to update the ui for every keystroke
|
||||
|
||||
$searchBarTimer = New-Object System.Windows.Threading.DispatcherTimer
|
||||
$searchBarTimer.Interval = [TimeSpan]::FromMilliseconds(300)
|
||||
|
||||
Reference in new issue
Block a user