mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
CtrlLib: Fixed minor visual glitch in TreeCtrl displaypopup
git-svn-id: svn://ultimatepp.org/upp/trunk@11162 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ecf562b9f0
commit
5f8f4e3a87
2 changed files with 1 additions and 2 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
class DisplayPopup : public Ctrl, public Link<DisplayPopup> {
|
||||
virtual void Paint(Draw& w);
|
||||
virtual void LeftDown(Point p, dword);
|
||||
|
|
|
|||
|
|
@ -878,7 +878,7 @@ void TreeCtrl::SyncInfo()
|
|||
Size csz = m.GetCtrlSize();
|
||||
if(m.ctrl && !highlight_ctrl)
|
||||
x += csz.cx;
|
||||
Rect r = RectC(x, l.y - org.y, sz.cx - x, m.GetSize(display).cy);
|
||||
Rect r = RectC(x, l.y - org.y, sz.cx - x, m.GetValueSize(display).cy + 2 * m.margin);
|
||||
if(r.Contains(p)) {
|
||||
Color fg, bg;
|
||||
dword st;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue