mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-06-28 00:54:47 -05:00

* Implement app installation progress overlay and refactor progress bar handling * Add overlay background color settings and ensure minimum progress bar value * Add busy overlay functionality and progress bar updates for installation process * Refactor busy overlay implementation to dynamically adjust size based on app area dimensions
13 lines
455 B
PowerShell
13 lines
455 B
PowerShell
function Hide-WPFInstallAppBusy {
|
|
<#
|
|
.SYNOPSIS
|
|
Hides the busy overlay in the install app area of the WPF form.
|
|
This is used to indicate that an install or uninstall has finished.
|
|
#>
|
|
$sync.form.Dispatcher.Invoke([action]{
|
|
$sync.InstallAppAreaOverlay.Visibility = [Windows.Visibility]::Collapsed
|
|
$sync.InstallAppAreaBorder.IsEnabled = $true
|
|
$sync.InstallAppAreaScrollViewer.Effect.Radius = 0
|
|
})
|
|
}
|