TextDocumentView: Fix detecting pressed Shift-key.
This commit is contained in:
@@ -97,7 +97,7 @@ TextDocumentView::MouseDown(BPoint where)
|
|||||||
{
|
{
|
||||||
int32 modifiers = 0;
|
int32 modifiers = 0;
|
||||||
if (Window() != NULL && Window()->CurrentMessage() != NULL)
|
if (Window() != NULL && Window()->CurrentMessage() != NULL)
|
||||||
Window()->CurrentMessage()->FindInt32("modifiers", modifiers);
|
Window()->CurrentMessage()->FindInt32("modifiers", &modifiers);
|
||||||
|
|
||||||
fMouseDown = true;
|
fMouseDown = true;
|
||||||
SetMouseEventMask(B_POINTER_EVENTS, B_LOCK_WINDOW_FOCUS);
|
SetMouseEventMask(B_POINTER_EVENTS, B_LOCK_WINDOW_FOCUS);
|
||||||
|
|||||||
Reference in New Issue
Block a user