Skip to content

Commit 6792614

Browse files
committed
project: upgrade AvaloniaEdit
Signed-off-by: leo <longshuang@msn.cn>
1 parent 43827a5 commit 6792614

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

src/Views/CommitMessageToolBox.axaml.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using Avalonia;
77
using Avalonia.Controls;
88
using Avalonia.Controls.Primitives;
9-
using Avalonia.Input;
109
using Avalonia.Interactivity;
1110
using Avalonia.Layout;
1211
using Avalonia.Media;
@@ -274,19 +273,6 @@ protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs chang
274273
}
275274
}
276275

277-
protected override void OnKeyDown(KeyEventArgs e)
278-
{
279-
// Supports Ctrl+Insert for copy. (Doubao uses Ctrl+Insert to detect selection)
280-
if (e.Key == Key.Insert && e.KeyModifiers == KeyModifiers.Control)
281-
{
282-
Copy();
283-
e.Handled = true;
284-
return;
285-
}
286-
287-
base.OnKeyDown(e);
288-
}
289-
290276
protected override void OnTextChanged(EventArgs e)
291277
{
292278
base.OnTextChanged(e);

0 commit comments

Comments
 (0)