mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 09:17:36 +13:00
Merge pull request #3649 from Fyers/master
Use current screen location for ImageViewer
This commit is contained in:
commit
5d99c29018
1 changed files with 3 additions and 2 deletions
|
@ -124,12 +124,13 @@ private void InitializeComponent()
|
|||
this.SuspendLayout();
|
||||
|
||||
this.BackColor = SystemColors.Window;
|
||||
this.Bounds = CaptureHelpers.GetScreenBounds();
|
||||
this.Bounds = CaptureHelpers.GetActiveScreenBounds();
|
||||
this.DoubleBuffered = true;
|
||||
this.FormBorderStyle = FormBorderStyle.None;
|
||||
this.Text = "ShareX - Image viewer";
|
||||
this.TopMost = true;
|
||||
this.WindowState = FormWindowState.Maximized;
|
||||
this.WindowState = FormWindowState.Normal;
|
||||
this.StartPosition = FormStartPosition.Manual;
|
||||
|
||||
this.pbPreview.Cursor = Cursors.Hand;
|
||||
this.pbPreview.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
|
|
Loading…
Reference in a new issue