Update main.ps1 (#4604)

This commit is contained in:
Gabi
2026-06-03 21:50:51 +03:00
committed by GitHub
parent b2eeda9eb2
commit 23f197b644
-1
View File
@@ -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