mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-06-04 14:17:27 +00:00
Update main.ps1 (#4604)
This commit is contained in:
@@ -345,7 +345,6 @@ $sync["Form"].Add_ContentRendered({
|
|||||||
|
|
||||||
# Compare with the primary monitor size
|
# Compare with the primary monitor size
|
||||||
if ($sync.Form.ActualWidth -gt $screenWidth -or $sync.Form.ActualHeight -gt $screenHeight) {
|
if ($sync.Form.ActualWidth -gt $screenWidth -or $sync.Form.ActualHeight -gt $screenHeight) {
|
||||||
Write-Debug "The specified width and/or height is greater than the primary monitor size."
|
|
||||||
$sync.Form.Left = 0
|
$sync.Form.Left = 0
|
||||||
$sync.Form.Top = 0
|
$sync.Form.Top = 0
|
||||||
$sync.Form.Width = $screenWidth
|
$sync.Form.Width = $screenWidth
|
||||||
|
|||||||
Reference in New Issue
Block a user