diff options
author | joye <joye> | 2014-04-04 21:00:18 (GMT) |
---|---|---|
committer | joye <joye> | 2014-04-04 21:00:18 (GMT) |
commit | ae3cf41403223191dda5efcf6d3a4165649a4a68 (patch) | |
tree | 3a31f27cac2b0b8e05efe6c1e3112385290c1e63 /src/bltGrMarkerOp.C | |
parent | 7290c2469f708b3b676ffae464e825ec3a99b721 (diff) | |
download | blt-ae3cf41403223191dda5efcf6d3a4165649a4a68.zip blt-ae3cf41403223191dda5efcf6d3a4165649a4a68.tar.gz blt-ae3cf41403223191dda5efcf6d3a4165649a4a68.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGrMarkerOp.C')
-rw-r--r-- | src/bltGrMarkerOp.C | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bltGrMarkerOp.C b/src/bltGrMarkerOp.C index 66a0dc3..9d512a3 100644 --- a/src/bltGrMarkerOp.C +++ b/src/bltGrMarkerOp.C @@ -314,9 +314,9 @@ static int FindOp(Graph* graphPtr, Tcl_Interp* interp, link; link = Blt_Chain_NextLink(link)) { Marker* markerPtr = (Marker*)Blt_Chain_GetValue(link); MarkerOptions* ops = (MarkerOptions*)markerPtr->ops(); - if ((markerPtr->flags & DELETE_PENDING) || ops->hide) { + if ((markerPtr->flags & DELETE_PENDING) || ops->hide) continue; - } + if (IsElementHidden(graphPtr, markerPtr)) continue; @@ -598,8 +598,7 @@ void* Blt::NearestMarker(Graph* graphPtr, int x, int y, int under) Marker* markerPtr = (Marker*)Blt_Chain_GetValue(link); MarkerOptions* ops = (MarkerOptions*)markerPtr->ops(); - if ((markerPtr->flags & (DELETE_PENDING|MAP_ITEM)) || - (ops->hide)) + if ((markerPtr->flags & (DELETE_PENDING|MAP_ITEM)) || (ops->hide)) continue; if (IsElementHidden(graphPtr, markerPtr)) |