Ok, I can&#39;t move it. But I&#39;ll delete the method Utilities&gt;&gt;#decimalPlacesForGetter: :)<div><br><div>Richo</div><div><br><div class="gmail_quote">On Sun, May 30, 2010 at 2:03 PM, Ricardo Moran <span dir="ltr">&lt;<a href="mailto:richi.moran@gmail.com">richi.moran@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">It seems we were trying to fix the same issue at the same time :)<div>I&#39;ll move my commit System-Richo.19 to EtoysTreated then.</div>

<div><br></div><div>Cheers</div><div>Richo<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Sun, May 30, 2010 at 2:01 PM,  <span dir="ltr">&lt;<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Karl Ramberg uploaded a new version of Morphic to project Etoys:<br>
<a href="http://source.squeak.org/etoys/Morphic-kfr.11.mcz" target="_blank">http://source.squeak.org/etoys/Morphic-kfr.11.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Morphic-kfr.11<br>
Author: kfr<br>
Time: 30 May 2010, 7:00:31 pm<br>
UUID: b65a1832-143c-c04c-93b8-546765744bb0<br>
Ancestors: Morphic-kfr.10<br>
<br>
Guard agaist &quot;target&quot; not understanding decimalPlacesForGetter:<br>
<br>
=============== Diff against Morphic-kfr.10 ===============<br>
<br>
Item was changed:<br>
  ----- Method: UpdatingStringMorph&gt;&gt;readFromTarget (in category &#39;target access&#39;) -----<br>
  readFromTarget<br>
        &quot;Update my readout from my target&quot;<br>
<br>
        | v ret places |<br>
        (target isNil or: [getSelector isNil]) ifTrue: [^contents].<br>
        ret _ self checkTarget.<br>
        ret ifFalse: [^ &#39;0&#39;].<br>
+       ((target isMorph) or:[target isPlayerLike]) ifTrue:[<br>
        places _ target decimalPlacesForGetter: getSelector.<br>
+       (places ~= nil and: [ places ~= decimalPlaces ])  ifTrue: [ self decimalPlaces: places ]].<br>
-       (places ~= nil and: [ places ~= decimalPlaces ])  ifTrue: [ self decimalPlaces: places ].<br>
        v := target perform: getSelector.       &quot;scriptPerformer&quot;<br>
        (v isKindOf: Text) ifTrue: [v := v asString].<br>
        ^self acceptValueFromTarget: v!<br>
<br>
Item was removed:<br>
- ----- Method: Morph&gt;&gt;overlapsShadowForm:bounds: (in category &#39;geometry&#39;) -----<br>
- overlapsShadowForm: itsShadow bounds: itsBounds<br>
-       &quot;Answer true if itsShadow and my shadow overlap at all&quot;<br>
-       | andForm overlapExtent |<br>
-       overlapExtent _ (itsBounds intersect: self fullBounds) extent.<br>
-       overlapExtent &gt; (0 @ 0)<br>
-               ifFalse: [^ false].<br>
-       andForm _ self shadowForm.<br>
-       overlapExtent ~= self fullBounds extent<br>
-               ifTrue: [andForm _ andForm<br>
-                                               contentsOfArea: (0 @ 0 extent: overlapExtent)].<br>
-       andForm _ andForm<br>
-                               copyBits: (self fullBounds translateBy: itsShadow offset negated)<br>
-                               from: itsShadow<br>
-                               at: 0 @ 0<br>
-                               clippingBox: (0 @ 0 extent: overlapExtent)<br>
-                               rule: Form and<br>
-                               fillColor: nil.<br>
-       ^ andForm bits<br>
-               anySatisfy: [:w | w ~= 0]!<br>
<br>
_______________________________________________<br>
etoys-dev mailing list<br>
<a href="mailto:etoys-dev@squeakland.org" target="_blank">etoys-dev@squeakland.org</a><br>
<a href="http://lists.squeakland.org/mailman/listinfo/etoys-dev" target="_blank">http://lists.squeakland.org/mailman/listinfo/etoys-dev</a><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>