mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
TipCtrl: Fixed bottom issue
git-svn-id: svn://ultimatepp.org/upp/trunk@7362 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6d19d6a002
commit
0bb635223f
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ void ShowToolTip()
|
|||
Rect r = Ctrl::GetMouseWorkArea();
|
||||
Point p = GetMousePos() + Size(0, 22);
|
||||
if(p.y + sz.cy > r.bottom)
|
||||
p = GetMousePos() - Size(0, 22);
|
||||
p = GetMousePos() - Size(0, 6) - sz.cy;
|
||||
q.PopUp(top, p, !showmode);
|
||||
showmode = true;
|
||||
KillTimeCallback((void *)EndShowMode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue