Skip to content

Commit

Permalink
Remove debug/other useless functions (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorIsBlue committed Aug 14, 2024
1 parent cfd6020 commit 5228fca
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Aimmy2/Other/FileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ public void LoadConfigsIntoListBox(object? sender, FileSystemEventArgs? e)
}
public static void LogError(string message)
{
//if (Dictionary.toggleState["Debug Mode"])
if (Dictionary.toggleState["Debug Mode"])
{
Debug.WriteLine(message);
// Debug.WriteLine(message);
string logFilePath = "debug.txt";
using StreamWriter writer = new StreamWriter(logFilePath, true);
writer.WriteLine($"[{DateTime.Now}]: {message}");
Expand Down
18 changes: 9 additions & 9 deletions Aimmy2/Visuality/DetectedPlayerWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ private void UpdateDPColor(Color NewColor)
DetectedPlayerConfidence.Foreground = new SolidColorBrush(NewColor);
DetectedTracers.Stroke = new SolidColorBrush(NewColor);
}
public void MoveToMonitor(Screen selectedMonitor)
{
this.Left = selectedMonitor.Bounds.Left;
this.Top = selectedMonitor.Bounds.Top;
this.Width = selectedMonitor.Bounds.Width;
this.Height = selectedMonitor.Bounds.Height;
//public void MoveToMonitor(Screen selectedMonitor)
//{
// this.Left = selectedMonitor.Bounds.Left;
// this.Top = selectedMonitor.Bounds.Top;
// this.Width = selectedMonitor.Bounds.Width;
// this.Height = selectedMonitor.Bounds.Height;

this.WindowState = WindowState.Maximized;
this.Topmost = true;
}
// this.WindowState = WindowState.Maximized;
// this.Topmost = true;
//}
private void UpdateDPFontSize(int newint) => DetectedPlayerConfidence.FontSize = newint;

private void ChangeCornerRadius(int newint) => DetectedPlayerFocus.CornerRadius = new CornerRadius(newint);
Expand Down
18 changes: 9 additions & 9 deletions Aimmy2/Visuality/FOV.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ public FOV()
PropertyChanger.ReceiveColor = UpdateFOVColor;
PropertyChanger.ReceiveFOVSize = UpdateFOVSize;
}
public void MoveToMonitor(Screen selectedMonitor)
{
this.Left = selectedMonitor.Bounds.Left;
this.Top = selectedMonitor.Bounds.Top;
this.Width = selectedMonitor.Bounds.Width;
this.Height = selectedMonitor.Bounds.Height;
//public void MoveToMonitor(Screen selectedMonitor)
//{
// this.Left = selectedMonitor.Bounds.Left;
// this.Top = selectedMonitor.Bounds.Top;
// this.Width = selectedMonitor.Bounds.Width;
// this.Height = selectedMonitor.Bounds.Height;

this.WindowState = WindowState.Maximized;
this.Topmost = true;
}
// this.WindowState = WindowState.Maximized;
// this.Topmost = true;
//}
private void UpdateFOVColor(Color NewColor) => Circle.Stroke = new SolidColorBrush(NewColor);

private void UpdateFOVSize(double newdouble)
Expand Down

0 comments on commit 5228fca

Please sign in to comment.