mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
bazaar: CtrlPos: free drawing fix
git-svn-id: svn://ultimatepp.org/upp/trunk@3802 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2b2bed89ba
commit
ff8e54762d
1 changed files with 2 additions and 1 deletions
|
|
@ -254,7 +254,8 @@ void CtrlPos::LeftUp(Point p, dword keyflags)
|
|||
void CtrlPos::RightDown(Point p, dword keyflags)
|
||||
{
|
||||
//cancel
|
||||
LeftDown(p, keyflags);
|
||||
if(!(keyflags & K_SHIFT))
|
||||
LeftDown(p, keyflags);
|
||||
ReleaseCapture();
|
||||
int m = mode;
|
||||
mode = RectCtrl::NONE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue