mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ArrayCtrl multiselect minor fix, DragAndDrop in Win32 shows the dragged content even if rejecting it
git-svn-id: svn://ultimatepp.org/upp/trunk@881 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
5690bda2e4
commit
2cda5dae3b
2 changed files with 4 additions and 3 deletions
|
|
@ -772,7 +772,7 @@ Size ArrayCtrl::DoPaint(Draw& w, bool sample) {
|
|||
w.DrawRect(0, r.bottom, size.cx, 1, gridcolor);
|
||||
r.left = 0;
|
||||
r.right = x;
|
||||
if(i == cursor && !nocursor && multiselect && GetSelectCount() != 1 && hasfocus0 && !isdrag)
|
||||
if(i == cursor && !nocursor && multiselect && (GetSelectCount() != 1 || !IsSel(i)) && hasfocus0 && !isdrag)
|
||||
DrawFocus(w, r, st & Display::SELECT ? SColorPaper() : SColorText());
|
||||
r.bottom += horzgrid;
|
||||
r.left = x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue