|Anonymous | Login||10-19-2021 19:18 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0000853||[Squeak] Morphic||minor||always||01-30-05 21:50||08-21-07 09:13|
|Summary||0000853: (Halo) When rotating the center of rotation handle wobbles drunkenly.|
Get a round rectangle. Use its halo to rotate it while the rotation center is displayed. The rectangle rotation proceeds normally but the halos center handle does not stay in the same place. You might have to make the rectangle transparent (3.9 won't always show the right z-order for the center.)
The center handle should stay over the center of rotation reference point.
It doesn't because it is a submorph of halo. Halos bounds and therefore position changes when its targets bounds change. Rotating the morph changes the bounds of the rendering morph.
The centers position is figured as an offset from halos position ( bounds topLeft) so it is adjusted by privateFullMoveBy: delta. And then adjusted back by something else later. On the screen it wobbles drunkenly.
1) the rendering morph instead of recalculating bounds for each rotation could just initially allocate a form large enough for the most excentric rotation and use that for all rotations. Then it wouldn't change size and the
halo morph would not change size and the halo morph referernce center would stay put. It might even run faster for not having to always reallocte the rotated forms.
2) define a reference point morph class that handles positon updates by not moving and put the reference center handle on top of that morph.
Only when the center is deliberatly moved (shift drag) would the positon of the reference point morph change.
I personalbly believe implementing both solutions would be worthwhile.
Polygons wouldn't work with solution (1). Their bound are always changing.
see also 0000803
|There are no notes attached to this issue.|
|01-30-05 21:50||wiz||New Issue|
|08-21-07 09:13||wiz||Relationship added||child of 0006564|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
33 total queries executed.|
27 unique queries executed.