Skip to content

Commit d3ba566

Browse files
committed
Debug stuff
1 parent 5debdb8 commit d3ba566

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

CompactGUI.Core/Analyser.vb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ Public Class Analyser
4747
Return Nothing
4848
End Try
4949

50-
Debug.WriteLine(CompressedBytes)
51-
Debug.WriteLine(UncompressedBytes)
52-
53-
5450
ContainsCompressedFiles = compressedFilesCount > 0
5551
FileCompressionDetailsList = fileDetails.ToList
5652
Return ContainsCompressedFiles

CompactGUI.Watcher/BackgroundCompactor.vb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Public Class BackgroundCompactor
3030
End Sub
3131

3232
Private Sub OnSystemIdle(sender As Object, e As EventArgs)
33-
Debug.WriteLine(" SYSTEM IDLE!")
33+
If Not isSystemIdle Then Debug.WriteLine("SYSTEM IDLE!")
3434
isSystemIdle = True
3535
' Attempt to resume only if compacting was paused due to system activity
3636
If isCompactingPaused AndAlso Not isCompacting Then
@@ -39,7 +39,7 @@ Public Class BackgroundCompactor
3939
End Sub
4040

4141
Private Sub OnSystemNotIdle(sender As Object, e As EventArgs)
42-
Debug.WriteLine(" SYSTEM NOT IDLE!")
42+
If isSystemIdle Then Debug.WriteLine("SYSTEM NOT IDLE!")
4343
isSystemIdle = False
4444
' Attempt to pause only if compacting is currently active and not already paused
4545
If isCompacting AndAlso Not isCompactingPaused Then

CompactGUI/ViewModels/SettingsViewModel.vb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ Public Class SettingsViewModel : Inherits ObservableObject
4343
End Function
4444

4545
Private Sub SettingsPropertyChanged()
46-
Debug.WriteLine("Saving settings")
4746
Settings.Save()
4847
End Sub
4948

CompactGUI/Views/Components/NavigationBar.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<EventTrigger RoutedEvent="MouseEnter">
5050
<BeginStoryboard>
5151
<Storyboard>
52-
<DoubleAnimation Storyboard.TargetProperty="Opacity" To="1" Duration="0:0:0.1" />
52+
<DoubleAnimation Storyboard.TargetProperty="Opacity" To="0.8" Duration="0:0:0.1" />
5353
</Storyboard>
5454
</BeginStoryboard>
5555
</EventTrigger>

0 commit comments

Comments
 (0)