Skip to content

Commit 8876c44

Browse files
committed
Revert "if the default transparency is 100 set it to 0"
This reverts commit 61a98c7.
1 parent 61a98c7 commit 8876c44

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

SmartSystemMenu/Window.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,9 @@ public Window(IntPtr windowHandle)
148148
_defaultLeft = size.Left;
149149
_defaultTop = size.Top;
150150
_beforeRollupHeight = size.Height;
151+
_defaultTransparency = Transparency;
151152
_isLayered = false;
152153
_hasThickFrame = false;
153-
_defaultTransparency = Transparency;
154-
if (_defaultTransparency == 100)
155-
{
156-
_defaultTransparency = 0;
157-
}
158-
159154
State = new WindowState();
160155
State.Left = size.Left;
161156
State.Top = size.Top;

0 commit comments

Comments
 (0)