mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-04 12:14:45 +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.Radius = 5F;
|
||||||
this.pThumbnail.Size = new System.Drawing.Size(256, 256);
|
this.pThumbnail.Size = new System.Drawing.Size(256, 256);
|
||||||
this.pThumbnail.TabIndex = 0;
|
this.pThumbnail.TabIndex = 0;
|
||||||
|
this.pThumbnail.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PbThumbnail_MouseDown);
|
||||||
//
|
//
|
||||||
// pbProgress
|
// pbProgress
|
||||||
//
|
//
|
||||||
|
|
|
@ -179,7 +179,7 @@ public void UpdateThumbnail()
|
||||||
ThumbnailImage = ImageHelpers.ResizeImage(img, ThumbnailSize, false);
|
ThumbnailImage = ImageHelpers.ResizeImage(img, ThumbnailSize, false);
|
||||||
pbThumbnail.Image = ThumbnailImage;
|
pbThumbnail.Image = ThumbnailImage;
|
||||||
ThumbnailSourceFilePath = filePath;
|
ThumbnailSourceFilePath = filePath;
|
||||||
pbThumbnail.Cursor = Cursors.Hand;
|
pbThumbnail.Cursor = pThumbnail.Cursor = Cursors.Hand;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue