[FIX] ViewBoxFix-nk
Ned Konz
ned at bike-nomad.com
Mon Apr 15 17:44:19 UTC 2002
from preamble:
"Change Set: ViewBoxFix-nk
Date: 15 April 2002
Author: Ned Konz <ned at bike-nomad.com>
If you try to make a PasteUpMorph the model in a SystemWindow,
PasteUpMorph>>viewBox: assumes incorrectly that the PUM is a World.
That is, this should work:
| p w |
p _ PasteUpMorph new extent: 100 at 100.
w _ (SystemWindow labelled: 'whoops!!') model: p.
w addMorph: p frame: (0 at 0 extent: 1 at 1).
w openInWorld.
This change set adds some conditionals in PasteUpMorph>>viewBox: to
check if the PUM is indeed a World.
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ViewBoxFix-nk.cs.gz
Type: application/octet-stream
Size: 723 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020415/1eba68a7/ViewBoxFix-nk.cs.obj
More information about the Squeak-dev
mailing list
|