Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
BF: Fixed _selectWindow() ignoring 'win' argument #1514
Correcting an embarrassingly trivial bug in my last commit that was breaking drawing to multiple windows when passing a window other than its parent to draw().
Cause: _selectWindow() was ignoring its 'win' argument preventing stimuli from being drawn windows other than it's parent. This was due to self.win._setCurrent() being called rather than the _setCurrent() method of the 'win' passed to _selectWindow().
Fix: Changed self.win._setCurrent() -> win._setCurrent(), closes issue #1513