This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
src/GitHub.VisualStudio.UI/Views/Documents Expand file tree Collapse file tree 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
2222 public IssueishCommentView ( )
2323 {
2424 InitializeComponent ( ) ;
25- this . Loaded += CommentView_Loaded ;
2625 bodyMarkdown . PreviewMouseWheel += ScrollViewerUtilities . FixMouseWheelScroll ;
2726 DataContextChanged += HandleDataContextChanged ;
2827 }
@@ -41,15 +40,6 @@ void DoOpenOnGitHub()
4140 }
4241 }
4342
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-
5343 private void HandleDataContextChanged ( object sender , DependencyPropertyChangedEventArgs e )
5444 {
5545 subscription ? . Dispose ( ) ;
@@ -74,14 +64,6 @@ private void ReplyPlaceholder_GotFocus(object sender, System.Windows.RoutedEvent
7464 }
7565 }
7666
77- private void buttonPanel_IsVisibleChanged ( object sender , System . Windows . DependencyPropertyChangedEventArgs e )
78- {
79- if ( buttonPanel . IsVisible )
80- {
81- BringIntoView ( ) ;
82- }
83- }
84-
8567 void OpenHyperlink ( object sender , ExecutedRoutedEventArgs e )
8668 {
8769 Uri uri ;
You can’t perform that action at this time.
0 commit comments