mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-03 02:36:50 +13:00
Also clicking thumbnail panel will open fullscreen preview
This commit is contained in:
parent
d592b5f390
commit
988b4568f3
2 changed files with 2 additions and 1 deletions
1
ShareX/Controls/TaskPanel.Designer.cs
generated
1
ShareX/Controls/TaskPanel.Designer.cs
generated
|
@ -51,6 +51,7 @@ private void InitializeComponent()
|
|||
this.pThumbnail.Radius = 5F;
|
||||
this.pThumbnail.Size = new System.Drawing.Size(256, 256);
|
||||
this.pThumbnail.TabIndex = 0;
|
||||
this.pThumbnail.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PbThumbnail_MouseDown);
|
||||
//
|
||||
// pbProgress
|
||||
//
|
||||
|
|
|
@ -179,7 +179,7 @@ public void UpdateThumbnail()
|
|||
ThumbnailImage = ImageHelpers.ResizeImage(img, ThumbnailSize, false);
|
||||
pbThumbnail.Image = ThumbnailImage;
|
||||
ThumbnailSourceFilePath = filePath;
|
||||
pbThumbnail.Cursor = Cursors.Hand;
|
||||
pbThumbnail.Cursor = pThumbnail.Cursor = Cursors.Hand;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue