Skip to content

Commit

Permalink
Saves screenshots to picture folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Damarko-Berry committed Jan 30, 2025
1 parent 589089b commit cce9f2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TierListMaker/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ void LoadToList(Progress progress)
private void Screenschot_Click(object sender, RoutedEventArgs e)
{
Directory.CreateDirectory("Lists");
var SSpath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyPictures),"Tier List Maker", $"{Uniname.Text}.png");
SaveScreenshot(view, Path.Combine("Lists",$"{Uniname.Text}.png"));
}
private void SaveScreenshot(FrameworkElement element, string filename)
Expand Down

0 comments on commit cce9f2d

Please sign in to comment.