#46 fix bug with minimum preview size on startup

#47 treat click on overlay text same as click on main preview
This commit is contained in:
Izakbar
2025-01-26 13:06:31 +00:00
parent 6f7abe6ce7
commit 607fbcbeac
4 changed files with 6 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
[assembly: ComVisible(false)] [assembly: ComVisible(false)]
[assembly: Guid("04f08f8d-9e98-423b-acdb-4effb31c0d35")] [assembly: Guid("04f08f8d-9e98-423b-acdb-4effb31c0d35")]
[assembly: AssemblyVersion("8.0.1.5")] [assembly: AssemblyVersion("8.0.1.6")]
[assembly: AssemblyFileVersion("8.0.1.5")] [assembly: AssemblyFileVersion("8.0.1.6")]
[assembly: CLSCompliant(false)] [assembly: CLSCompliant(false)]

View File

@@ -28,8 +28,8 @@ namespace EveOPreview.View
this._overlayLabelMap = new Dictionary<ViewZoomAnchor, RadioButton>(); this._overlayLabelMap = new Dictionary<ViewZoomAnchor, RadioButton>();
this._cachedThumbnailZoomAnchor = ViewZoomAnchor.NW; this._cachedThumbnailZoomAnchor = ViewZoomAnchor.NW;
this._suppressEvents = false; this._suppressEvents = false;
this._minimumSize = new Size(80, 60); this._minimumSize = new Size(20, 20);
this._maximumSize = new Size(80, 60); this._maximumSize = new Size(20, 20);
InitializeComponent(); InitializeComponent();

View File

@@ -57,6 +57,7 @@
this.OverlayLabel.Size = new System.Drawing.Size(25, 13); this.OverlayLabel.Size = new System.Drawing.Size(25, 13);
this.OverlayLabel.TabIndex = 1; this.OverlayLabel.TabIndex = 1;
this.OverlayLabel.Text = "..."; this.OverlayLabel.Text = "...";
this.OverlayLabel.MouseUp += new System.Windows.Forms.MouseEventHandler(this.OverlayArea_Click);
// //
// ThumbnailOverlay // ThumbnailOverlay
// //

View File

@@ -28,7 +28,7 @@ namespace EveOPreview.View
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
this.MaximizeBox = false; this.MaximizeBox = false;
this.MinimizeBox = false; this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(64, 64); this.MinimumSize = new System.Drawing.Size(20, 20);
this.Name = "ThumbnailView"; this.Name = "ThumbnailView";
this.Opacity = 0.1D; this.Opacity = 0.1D;
this.ShowIcon = false; this.ShowIcon = false;