portugueslab / stytra

A modular package to control stimulation and track behaviour
http://www.portugueslab.com/stytra/
GNU General Public License v3.0
41 stars 26 forks source link

Fixed incorrect scaling in CircleStimulus #1

Closed mark-dawn closed 6 years ago

mark-dawn commented 6 years ago

Simple fix to make sure that scaling works correctly in CircleStimulus. It might be worthwhile to make the retrieval of the mm_px value happen in a common place (like the parent's paint or a method of its own), since other classes might want this value anyway.