mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: Fixed LineEdit selection problem
git-svn-id: svn://ultimatepp.org/upp/trunk@1310 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
c3f1714ddb
commit
14ab274e92
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
NAMESPACE_UPP
|
||||
|
||||
#define LLOG(x) LOG(x)
|
||||
#define LLOG(x) // LOG(x)
|
||||
|
||||
#ifdef PLATFORM_X11
|
||||
|
||||
|
|
|
|||
|
|
@ -446,7 +446,7 @@ void LineEdit::LeftTriple(Point, dword)
|
|||
void LineEdit::MouseMove(Point p, dword flags) {
|
||||
if((flags & K_MOUSELEFT) && HasFocus() && HasCapture()) {
|
||||
int c = GetMousePos(p);
|
||||
PlaceCaret(c, mpos != c);
|
||||
PlaceCaret(c, mpos != c || HasCapture());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue