mirror of
https://github.com/LorenzCK/OnTopReplica.git
synced 2024-05-20 20:33:06 +12:00
Fixed bug #47: chromeOff CLI parameter works again
This commit is contained in:
parent
bc03f9298b
commit
6cd21971cf
|
@ -92,8 +92,6 @@ namespace OnTopReplica.StartupOptions {
|
|||
#region Application
|
||||
|
||||
public void Apply(MainForm form) {
|
||||
//GUI
|
||||
form.IsChromeVisible = !DisableChrome;
|
||||
form.Opacity = (double)Opacity / 255.0;
|
||||
|
||||
//Seek handle for thumbnail cloning
|
||||
|
@ -120,7 +118,6 @@ namespace OnTopReplica.StartupOptions {
|
|||
handle = seeker.Windows.FirstOrDefault();
|
||||
}
|
||||
|
||||
//Position lock
|
||||
if (StartPositionLock.HasValue) {
|
||||
form.PositionLock = StartPositionLock.Value;
|
||||
}
|
||||
|
@ -150,6 +147,8 @@ namespace OnTopReplica.StartupOptions {
|
|||
form.ClickForwardingEnabled = true;
|
||||
}
|
||||
|
||||
form.IsChromeVisible = !DisableChrome;
|
||||
|
||||
//Fullscreen
|
||||
if (Fullscreen) {
|
||||
form.FullscreenManager.SwitchFullscreen();
|
||||
|
|
Loading…
Reference in a new issue