Author Lita.Cho
Recipients Lita.Cho, jesstess, ned.deily, terry.reedy
Date 2014-07-06.23:24:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404689097.64.0.858549527449.issue21597@psf.upfronthosting.co.za>
In-reply-to
Content
!!!!

I think I have a fix!! I made it so that centering works while fixing the tearing.

For some reason, in the Turtle API, the adjustScrolls method creates a new scroll widget for x and y and deletes the old one. I am not sure why it does it this way. I'm sure there is a reason for it though.

For the demo, I overwrote the onResize method so that it centers canvas but doesn't instantiate a new scroll widget and throws away the old one, which fixes the tearing!

I would love for someone to review the patch. Thanks!
History
Date User Action Args
2014-07-06 23:24:57Lita.Chosetrecipients: + Lita.Cho, terry.reedy, ned.deily, jesstess
2014-07-06 23:24:57Lita.Chosetmessageid: <1404689097.64.0.858549527449.issue21597@psf.upfronthosting.co.za>
2014-07-06 23:24:57Lita.Cholinkissue21597 messages
2014-07-06 23:24:57Lita.Chocreate