In order to function properly TextGridNode needs to listen to MouseMoved
and MouseButtonReleased events, which were missing from the event mask.
refs #7517
Change-Id: I301de9812ab9427a3ef037884c89b7cb4e7b0abe
(cherry picked from commit
7e1c0263ce7496c044e0de710b5db37a749df4f3)
/*******************************************************************************
- * Copyright (c) 2007, 2010 Association for Decentralized Information Management
+ * Copyright (c) 2007, 2017 Association for Decentralized Information Management
* in Industry THTH ry.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@Override
public int getEventMask() {
- return EventTypes.MouseDragBeginMask | EventTypes.KeyPressedMask;
+ return EventTypes.MouseDragBeginMask | EventTypes.MouseMovedMask | EventTypes.MouseButtonReleasedMask | EventTypes.KeyPressedMask;
}
private static boolean isEventDummy(MouseDragBegin e) {