Issue #1226 Fixed D2D Legend handler so it returns true when legend is clicked on
Change-Id: I2440d9590fac033a700ef451509f1362cd17694d Former-commit-id:2b3ddc434a
[formerly75e9fc1ef0
] [formerly2ea6c408f2
] [formerlyc96a1797e7
[formerly2ea6c408f2
[formerly b70a481aaefd71871cf0bf7b63fbfce64525c5dc]]] Former-commit-id:c96a1797e7
Former-commit-id: 0269ff04a3dd02da75e727356e2dcd36e5505a7c [formerlyf96eb2df95
] Former-commit-id:c01fc819a9
This commit is contained in:
parent
8886c0b8fd
commit
085ccc7c96
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