Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
Fix Screenshots getting squished
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSwerik committed May 8, 2020
1 parent 67e6ec0 commit b8a1bb6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Inno Config.iss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; Variables:
#define MyAppName "RedEye"
#define MyAppVersion "1.3.0"
#define MyAppVersion "1.3.1"
#define MyAppPublisher "Swerik"
#define MyAppURL "https://github.com/TheSwerik/RedEye"
#define MyAppExeName "RedEye.exe"
Expand Down
2 changes: 1 addition & 1 deletion RedEye.UI/src/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ private void DetectAsync()

private void SavePNG()
{
var bounds = VisualTreeHelper.GetDescendantBounds(MainCanvas);
var bounds = VisualTreeHelper.GetDescendantBounds(Pic);
var rtb = new RenderTargetBitmap((int) bounds.Width, (int) bounds.Height, 96d, 96d, PixelFormats.Default);

DrawingVisual dv = new DrawingVisual();
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
environment:
my_version_number: 1.3.0 # DONT FORGET TO CHANGE IS IN THE ISS FILE
my_version_number: 1.3.1 # DONT FORGET TO CHANGE IS IN THE ISS FILE
application_name: RedEye # DONT FORGET TO CHANGE IS IN THE ISS FILE
project_name: RedEye.UI

Expand Down

0 comments on commit b8a1bb6

Please sign in to comment.