mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
During ArrayCtrl D & D, GetClickColumn/Row newly points to cell clicked on when starting the D & D action
git-svn-id: svn://ultimatepp.org/upp/trunk@937 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7f5d05f0d5
commit
6f8dcbb929
1 changed files with 2 additions and 1 deletions
|
|
@ -1418,7 +1418,8 @@ void ArrayCtrl::LeftDown(Point p, dword flags)
|
|||
header.StartSplitDrag(q);
|
||||
return;
|
||||
}
|
||||
q = GetLineAt(p.y + sb);
|
||||
q = clickpos.y = GetLineAt(p.y + sb);
|
||||
ClickColumn(p);
|
||||
selclick = false;
|
||||
if(q >= 0 && q < GetCount() && IsSel(q) && (flags & (K_CTRL|K_SHIFT)) == 0) {
|
||||
selclick = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue