Issue #1226 Fixed D2D Legend handler so it returns true when legend is clicked on
Change-Id: I2440d9590fac033a700ef451509f1362cd17694d Former-commit-id:75e9fc1ef0
[formerly2ea6c408f2
] [formerly75e9fc1ef0
[formerly2ea6c408f2
] [formerlyc96a1797e7
[formerly b70a481aaefd71871cf0bf7b63fbfce64525c5dc]]] Former-commit-id:c96a1797e7
Former-commit-id:c01fc819a9
[formerlyf96eb2df95
] Former-commit-id:b067dde26d
This commit is contained in:
parent
c1b115e17f
commit
ca51e1a396
1 changed files with 2 additions and 1 deletions
|
@ -87,7 +87,7 @@ public class D2DLegendClickHandler extends AbstractD2DLegendInputHandler {
|
|||
cancel = true;
|
||||
}
|
||||
// eat the movement if we initially clicked on a resource
|
||||
return (mouseDownRsc != null);
|
||||
return cancel;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -104,6 +104,7 @@ public class D2DLegendClickHandler extends AbstractD2DLegendInputHandler {
|
|||
// Verify we are on our own pane
|
||||
mouseDownRsc = resource.checkLabelSpace(
|
||||
display.getDescriptor(), activePane.getTarget(), x, y);
|
||||
return mouseDownRsc != null;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue