kaiserfarrell / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

When a delegate return YES for pointingDeviceUpEvent:atPoint: isDragging cannot be restored to NO #440

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Look at the code for pointingDeviceUpEvent:atPoint:

This is just a bug noticed by looking at the code and imagining a situation 
where a delegate returns yes to [delegate plotSpace:self 
shouldHandlePointingDeviceDownEvent:event atPoint:interactionPoint]

What is the expected output? What do you see instead?
When the event is handled by the delegate (handledByDelegate == YES), the code 
needs to reset isDragging to NO if isDragging is YES.  Not doing this could 
cause an inconsistent dragging state.  Additionally, because isDragging is 
private, the delegate has no way to correct this state itself.

What version of the product are you using? On what operating system?
iOS 5.1

Please provide any additional information below.

Original issue reported on code.google.com by KArnl...@gmail.com on 19 Jun 2012 at 4:40

GoogleCodeExporter commented 8 years ago

Original comment by eskr...@mac.com on 20 Jun 2012 at 11:42

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 9918bc958a38.

Original comment by eskr...@mac.com on 5 Aug 2012 at 12:23