From 38f39924f03cabca4071357f9baf0662e1475713 Mon Sep 17 00:00:00 2001 From: Divyansh Srivastava Date: Wed, 29 Apr 2020 09:54:37 -0700 Subject: [PATCH] Code cleanup --- src/modules/launcher/PowerLauncher/MainWindow.xaml.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs b/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs index d3f95a20ef..192dded83d 100644 --- a/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs +++ b/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs @@ -156,8 +156,6 @@ namespace PowerLauncher var dpi1 = screen.WorkingArea.X / dpiX; var dpi2 = screen.WorkingArea.Width / dpiX; var left = (dpi2 - this.Width) / 2 + dpi1; - Debug.WriteLine("WorkingAreaX :" + screen.WorkingArea.X + " WorkingAreaWidth :" + screen.WorkingArea.Width + " width :" + Width); - Debug.WriteLine("Left :" + left + " DPiX :" + dpiX); return left; } @@ -170,7 +168,6 @@ namespace PowerLauncher var dpi2 = screen.WorkingArea.Height / dpiY; var totalHeight = this.SearchBoxBorder.Margin.Top + this.SearchBoxBorder.Margin.Bottom + this.SearchBox.Height + this.ListBoxBorder.Margin.Top + this.ListBoxBorder.Margin.Bottom + MAX_LIST_HEIGHT; var top = (dpi2 - totalHeight) / 4 + dpi1; - Debug.WriteLine("Top :" + top + " DPiY :" + dpiY); return top; }