This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
src/GitHub.InlineReviews/Tags Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 33 xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
44 xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
55 xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
6- mc : Ignorable =" d" >
6+ mc : Ignorable =" d"
7+ ToolTipService.ShowDuration=" 600000" ToolTipService.HasDropShadow=" True" >
8+ <UserControl .ToolTip>
9+ <ToolTip x : Name =" CommentToolTip" />
10+ </UserControl .ToolTip>
711 <Viewbox >
812 <Path Stroke =" Black"
913 Data =" M13 2H1c-0.55 0-1 0.45-1 1v8c0 0.55 0.45 1 1 1h2v3.5l3.5-3.5h6.5c0.55 0 1-0.45 1-1V3c0-0.55-0.45-1-1-1z m0 9H6L4 13V11H1V3h12v8z" />
Original file line number Diff line number Diff line change @@ -7,14 +7,9 @@ namespace GitHub.InlineReviews.Tags
77{
88 public partial class ShowInlineCommentGlyph : UserControl
99 {
10- readonly ToolTip toolTip ;
11-
1210 public ShowInlineCommentGlyph ( )
1311 {
1412 InitializeComponent ( ) ;
15-
16- toolTip = new ToolTip ( ) ;
17- ToolTip = toolTip ;
1813 }
1914
2015 protected override void OnToolTipOpening ( ToolTipEventArgs e )
@@ -31,12 +26,12 @@ protected override void OnToolTipOpening(ToolTipEventArgs e)
3126 var view = new CommentTooltipView ( ) ;
3227 view . DataContext = viewModel ;
3328
34- toolTip . Content = view ;
29+ CommentToolTip . Content = view ;
3530 }
3631
3732 protected override void OnToolTipClosing ( ToolTipEventArgs e )
3833 {
39- toolTip . Content = null ;
34+ CommentToolTip . Content = null ;
4035 }
4136 }
4237}
You can’t perform that action at this time.
0 commit comments