mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
.developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3622 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
620573f4c9
commit
edbef2ddba
1 changed files with 2 additions and 2 deletions
|
|
@ -116,8 +116,8 @@ void Ctrl::CursorSync()
|
|||
Point p = GetMousePos() - fbCursorImage.GetHotSpot();
|
||||
Rect cr = Null;
|
||||
if(focusCtrl && (((GetTickCount() - fbCaretTm) / 500) & 1) == 0)
|
||||
cr = RectC(focusCtrl->caretx, focusCtrl->carety, focusCtrl->caretcx, focusCtrl->caretcy)
|
||||
+ focusCtrl->GetScreenView().TopLeft();
|
||||
cr = (RectC(focusCtrl->caretx, focusCtrl->carety, focusCtrl->caretcx, focusCtrl->caretcy)
|
||||
+ focusCtrl->GetScreenView().TopLeft()) & focusCtrl->GetScreenView();
|
||||
if(fbCursorPos != p || cr != fbCaretRect) {
|
||||
RemoveCursor();
|
||||
RemoveCaret();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue