[squeak-dev] The Trunk: MorphicExtras-kfr.227.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Sun Apr 15 11:14:35 UTC 2018


Hi, there.

Why did it stop stepping in the first place? Here are some thoughts about stepping:

- Drag/drop should not change stepping state of a morph in general.
- #intoWorld: does check #wantsSteps and propagates #startStepping: to submorphs already.

So, maybe we could fix the bounds for non-stepping BouncingAtomsMorph so that drag/drop works w/o start stepping again? :-)

Best,
Marcel
Am 15.04.2018 12:47:53 schrieb commits at source.squeak.org <commits at source.squeak.org>:
Karl Ramberg uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-kfr.227.mcz

==================== Summary ====================

Name: MorphicExtras-kfr.227
Author: kfr
Time: 15 April 2018, 12:47:19.317391 pm
UUID: 9dd2eaf1-6002-4f42-99c4-65f00426c358
Ancestors: MorphicExtras-kfr.226

BouncingAtomsMorph was not updating drawing bounds once it stopped stepping and got moved

=============== Diff against MorphicExtras-kfr.226 ===============

Item was removed:
- ----- Method: BouncingAtomsMorph>>intoWorld: (in category 'initialization') -----
- intoWorld: aWorld
- "Make sure report damage at least once"
- damageReported := false.
- super intoWorld: aWorld.!

Item was added:
+ ----- Method: BouncingAtomsMorph>>justDroppedInto:event: (in category 'initialization') -----
+ justDroppedInto: newOwner event: evt
+ self startStepping
+ !


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180415/c5e56971/attachment.html>


More information about the Squeak-dev mailing list