Hi there,
Ok basically when I add items to my TransformManager, I place them there at 70% but I want to stop the user from scaling them past 100% (and probably stop them scaling them lower than 20% or so too). So far, I haven't seen a property which lets me specify a restriction like this so I thought about using the TransformEvent.SCALE event. However, it just seems to execute once, when the mouse is released. My plan was to check for the scale being greater than 1 and if it is, setting it to 1 but if this event is only fired on release, that's not going to happen.
So yeah, basically I'm wondering what approach you would take to this. Is there a parameter lurking somewhere that would just sort this for me? If not, it would be a nice addition to TM as I think a lot of people would like to stop their images from being scaled higher than 100%, degrading the image quality. Maybe a MaxScale/MinScale type option...