File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 606
606
<x : String x : Key =" Text.SelfUpdate.Title" xml : space =" preserve" >软件更新</x : String >
607
607
<x : String x : Key =" Text.SelfUpdate.UpToDate" xml : space =" preserve" >当前已是最新版本。</x : String >
608
608
<x : String x : Key =" Text.SHALinkCM.CopySHA" xml : space =" preserve" >复制提交指纹</x : String >
609
+ <x : String x : Key =" Text.SHALinkCM.NavigateTo" xml : space =" preserve" >跳转到提交</x : String >
609
610
<x : String x : Key =" Text.Squash" xml : space =" preserve" >压缩为单个提交</x : String >
610
611
<x : String x : Key =" Text.Squash.Into" xml : space =" preserve" >合并入:</x : String >
611
612
<x : String x : Key =" Text.SSHKey" xml : space =" preserve" >SSH密钥 :</x : String >
Original file line number Diff line number Diff line change 605
605
<x : String x : Key =" Text.SelfUpdate.Title" xml : space =" preserve" >軟體更新</x : String >
606
606
<x : String x : Key =" Text.SelfUpdate.UpToDate" xml : space =" preserve" >目前已是最新版本。</x : String >
607
607
<x : String x : Key =" Text.SHALinkCM.CopySHA" xml : space =" preserve" >複製提交編號</x : String >
608
+ <x : String x : Key =" Text.SHALinkCM.NavigateTo" xml : space =" preserve" >導覽到提交</x : String >
608
609
<x : String x : Key =" Text.Squash" xml : space =" preserve" >壓縮為單個提交</x : String >
609
610
<x : String x : Key =" Text.Squash.Into" xml : space =" preserve" >合併入:</x : String >
610
611
<x : String x : Key =" Text.SSHKey" xml : space =" preserve" >SSH 金鑰:</x : String >
Original file line number Diff line number Diff line change 7
7
using Avalonia . Controls ;
8
8
using Avalonia . Controls . Documents ;
9
9
using Avalonia . Input ;
10
- using Avalonia . Platform . Storage ;
11
10
using Avalonia . VisualTree ;
12
11
13
12
namespace SourceGit . Views
@@ -115,7 +114,7 @@ protected override void OnPointerMoved(PointerEventArgs e)
115
114
{
116
115
base . OnPointerMoved ( e ) ;
117
116
118
- if ( e . Pointer . Captured == this )
117
+ if ( Equals ( e . Pointer . Captured , this ) )
119
118
{
120
119
var relativeSelfY = e . GetPosition ( this ) . Y ;
121
120
if ( relativeSelfY <= 0 || relativeSelfY > Bounds . Height )
@@ -155,11 +154,6 @@ protected override void OnPointerMoved(PointerEventArgs e)
155
154
ToolTip . SetTip ( this , match . Link ) ;
156
155
ToolTip . SetIsOpen ( this , true ) ;
157
156
}
158
- else if ( this . FindAncestorOfType < CommitBaseInfo > ( ) is { DataContext : ViewModels . CommitDetail detail } && detail . GetParent ( match . Link ) is Models . Commit c )
159
- {
160
- ToolTip . SetTip ( this , c ) ;
161
- ToolTip . SetIsOpen ( this , true ) ;
162
- }
163
157
164
158
return ;
165
159
}
You can’t perform that action at this time.
0 commit comments