Skip to content

Commit

Permalink
ViewForm InitializeComponent must happen after setting binxelview_for…
Browse files Browse the repository at this point in the history
…m/context_strip. (InitializeComponent can cause a resize in some cases?) #30
  • Loading branch information
bbbradsmith committed Nov 6, 2024
1 parent 39f7737 commit bae83d1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dialogs/ViewForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ public partial class ViewForm : Form

public ViewForm(BinxelviewForm parent_form, ContextMenuStrip context_strip)
{
InitializeComponent();
binxelview_form = parent_form;
pixelBox.ContextMenuStrip = context_strip;
InitializeComponent();
}

private void pixelBox_MouseMove(object sender, MouseEventArgs e)
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.6.5.0")]
[assembly: AssemblyFileVersion("1.6.5.0")]
[assembly: AssemblyVersion("1.6.6.0")]
[assembly: AssemblyFileVersion("1.6.6.0")]
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,10 @@ a specific INI setup.
Changes
-------

1.6.6.0 (unreleased beta)
- Add PDB to release package to assist debugging.
- Fix initialization crash. #30

1.6.5.0 (2024-10-26)
- Option persistence, INI file save and load.
- Command line arguments for options.
Expand Down

0 comments on commit bae83d1

Please sign in to comment.