bgirard/cleopatra — pull request #38 by mstange (2014-02-17 14:55:09+00:00)
Title: Implement mouse captured histogram selection without setCapture.

Chrome doesn't support setCapture, so let's use the old fashioned way of capturing the mouse: setting the mousemove / mouseup listeners on the window object. This patch sets the listeners during mousedown processing and unsets them during mouseup processing.