CtrlLib: ArrayCtrl: Fixed issue with popup info

git-svn-id: svn://ultimatepp.org/upp/trunk@10142 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-08-05 14:33:20 +00:00
parent ad7ff3954a
commit d8b122458d

View file

@ -1691,7 +1691,8 @@ void ArrayCtrl::SyncInfo()
Value q;
const Display& d = GetCellInfo(c.y, c.x, HasFocusDeep(), q, fg, bg, st);
int cw = r.Width();
SpanWideCell(d, q, cm, cw, r, c.y, c.x);
if(spanwidecells)
SpanWideCell(d, q, cm, cw, r, c.y, c.x);
if(r.Contains(p)) {
info.Set(this, r, q, &d, fg, bg, st, cm);
return;