Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions Lite/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -649,13 +649,7 @@ not when the user just switches time ranges. */
if (border.Child is TextBlock text)
{
text.Text = totalAlerts > 99 ? "99+" : totalAlerts.ToString();
text.ToolTip = new System.Windows.Controls.ToolTip
{
Content = $"Blocking: {blockingCount}, Deadlocks: {deadlockCount}\nRight-click to dismiss",
Background = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(0x1E, 0x1E, 0x2E)),
Foreground = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(0xE4, 0xE6, 0xEB)),
BorderBrush = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(0x3A, 0x3D, 0x45))
};
text.ToolTip = $"Blocking: {blockingCount}, Deadlocks: {deadlockCount}\nRight-click to dismiss";
}
}
else
Expand Down
2 changes: 1 addition & 1 deletion Lite/Themes/DarkTheme.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@
<!-- ============================================ -->
<!-- ToolTip Style -->
<!-- ============================================ -->
<Style x:Key="DarkToolTip" TargetType="ToolTip">
<Style TargetType="ToolTip">
<Setter Property="Background" Value="{StaticResource BackgroundLightBrush}"/>
<Setter Property="Foreground" Value="{StaticResource ForegroundBrush}"/>
<Setter Property="BorderBrush" Value="{StaticResource BorderLightBrush}"/>
Expand Down