Skip to content

Commit

Permalink
position timer window
Browse files Browse the repository at this point in the history
  • Loading branch information
stevencohn committed Dec 28, 2024
1 parent d4427c1 commit d150fda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OneMore/Commands/Extras/TimerWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ protected override async void OnShown(EventArgs e)

// must add to area.X here to handle extended mode in which the coord of the secondary
// display is an extension of the first, so X would be greater than zero
Left = (int)(area.X + (area.Width - Width - (10 * scalingX)));
Top = (int)((SystemInformation.CaptionHeight + 5) * scalingY);
Left = (int)(area.X + (area.Width - Width - (40 * scalingX)));
Top = (int)((SystemInformation.CaptionHeight + 60) * scalingY);

maxLeft = Left;
maxTop = area.Height - Height - 50;
Expand Down

0 comments on commit d150fda

Please sign in to comment.