Skip to content

Commit

Permalink
Auto positioning working successfully :)
Browse files Browse the repository at this point in the history
  • Loading branch information
AccidentalCitizen committed Oct 4, 2023
1 parent f00933d commit 5600be8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TestApplication/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ private void pictureBox1_Click(object sender, MouseEventArgs e)

private void DisplayBox_Resize(object sender, EventArgs e)
{
//pivotX = 1419 / 2;
//pivotY = 1075 / 2;
pivotX = DisplayBox.Width / 2;
pivotY = DisplayBox.Height / 2;
}

private void DisplayBox_MouseMove(object sender, MouseEventArgs e)
Expand Down

0 comments on commit 5600be8

Please sign in to comment.