Closed aeosynth closed 8 years ago
Working far better than my first attempt. :) Only thing I would like to change is the else part, which resets self.rotation. Instead of everytime setting it to 0, if the rotation isn't locked, I would move it into the toggle function. As far as I could deduce its working the same. (Although the only reason for this adjustment is personal taste) Or is there a reason, why it should be there?
that doesn't make sense to me - toggling rotation lock should not affect the current rotation. resetting the rotation to 0 when lock is toggled will make self.rotation
out of sync with image's actual rotation.
edit: the 'lock' part is for locking rotation across images, not for a single image. that's like resetting zoom every time zoom_lock
is toggled.
ok, this would malform "rotate, lock, rotate again, moving picture forward" (intended 180°, getting only 90°). Didn't check that, obviously
my attempt