Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0002536 |
[Squeak] Morphic |
tweak |
always |
01-20-06 10:08 |
01-20-06 10:08 |
|
Reporter |
acon |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
open |
|
Status |
new |
|
Product Version |
3.9 |
|
Summary |
0002536: Morph>>morphicLayerNumberWithin: ignores subclasses hardcoded layer numbers |
Description |
said method only returns the owners layer number, the layer number stored in the morphicLayerNumber property or the default value 100. This method is only used in Morph>>addMorphInFrontOfLayer:. A lot of subclasses of Morph like FlapMorph and BalloonMorph hardcode a morphic layer number and returns it from #morphicLayerNumber without bothering to set the property to their hard coded value. When change the #morphicLayerNumberWithin: sends to #morphicLayerNumber calls everything seems to work. |
Additional Information |
I have attached a small changeset that changes #morphicLayerNumberWithin: sends to #morphicLayerNumber sends. |
|
Attached Files |
Morphic-acon.60.1.cs [^] (1,137 bytes) 01-20-06 10:08 |
|