OSDN Git Service
(root)
/
fooeditengine
/
FooEditEngine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5796ba
)
キャレットが先頭行以外クリックできないバグを修正した
author
test
<test@yahoo.co.jp>
Sat, 12 Dec 2020 13:27:17 +0000
(22:27 +0900)
committer
test
<test@yahoo.co.jp>
Sat, 12 Dec 2020 13:27:17 +0000
(22:27 +0900)
Core/EditView.cs
patch
|
blob
|
history
diff --git
a/Core/EditView.cs
b/Core/EditView.cs
index
ed3bd2e
..
8a7dba5
100644
(file)
--- a/
Core/EditView.cs
+++ b/
Core/EditView.cs
@@
-735,7
+735,7
@@
namespace FooEditEngine
{
int PhyLineCountOnScreen = (int)(this.render.TextArea.Height / this.render.emSize.Height);
//計算量を減らすため
- if (tp.row < this.Src.Row || t
p.row + PhyLineCountOnScreen * 2 > this.Src.R
ow)
+ if (tp.row < this.Src.Row || t
his.Src.Row + PhyLineCountOnScreen * 2 < tp.r
ow)
this.Document.Src = new SrcPoint(this.Src.X, tp.row, -relPoint.Y);
//キャレットのY座標を求める