vialab / SMT

Simple Multi-Touch (SMT) Toolkit
http://vialab.science.uoit.ca/smt
GNU General Public License v3.0
43 stars 18 forks source link

Re-implement scaling limits for Zone.rst() #204

Open x3sp3d3s opened 10 years ago

x3sp3d3s commented 10 years ago

Hi again, Is there any way to limit the maximum/minimum size of a zone?? When we load the rst() method and we call after that EnableScalingLimit(), it changes nothing. It's like it's not calling the function. Could you provide a working example of how to use this function?

kiwistrongis commented 10 years ago

Yeah scaling limits are broken atm. Here's a quick attempt at a workaround: https://gist.github.com/kiwistrongis/779ab88a91ce62432030

If you want, I can explain more.