This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree 1 file changed +0
-18
lines changed
src/GitHub.VisualStudio.UI/Views/Documents
1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ public partial class IssueishCommentView : UserControl
22
22
public IssueishCommentView ( )
23
23
{
24
24
InitializeComponent ( ) ;
25
- this . Loaded += CommentView_Loaded ;
26
25
bodyMarkdown . PreviewMouseWheel += ScrollViewerUtilities . FixMouseWheelScroll ;
27
26
DataContextChanged += HandleDataContextChanged ;
28
27
}
@@ -41,15 +40,6 @@ void DoOpenOnGitHub()
41
40
}
42
41
}
43
42
44
- private void CommentView_Loaded ( object sender , System . Windows . RoutedEventArgs e )
45
- {
46
- if ( buttonPanel . IsVisible )
47
- {
48
- BringIntoView ( ) ;
49
- body . Focus ( ) ;
50
- }
51
- }
52
-
53
43
private void HandleDataContextChanged ( object sender , DependencyPropertyChangedEventArgs e )
54
44
{
55
45
subscription ? . Dispose ( ) ;
@@ -74,14 +64,6 @@ private void ReplyPlaceholder_GotFocus(object sender, System.Windows.RoutedEvent
74
64
}
75
65
}
76
66
77
- private void buttonPanel_IsVisibleChanged ( object sender , System . Windows . DependencyPropertyChangedEventArgs e )
78
- {
79
- if ( buttonPanel . IsVisible )
80
- {
81
- BringIntoView ( ) ;
82
- }
83
- }
84
-
85
67
void OpenHyperlink ( object sender , ExecutedRoutedEventArgs e )
86
68
{
87
69
Uri uri ;
You can’t perform that action at this time.
0 commit comments