[FIX] Re: [BUG] Walkback caused by Baloon help for menu items that
have expired
Bert Freudenberg
bert at isg.cs.uni-magdeburg.de
Sat Nov 4 23:58:57 UTC 2000
On Sun, 5 Nov 2000, Bert Freudenberg wrote:
> Ack, I fixed this but I do not have that image here ... It was in
> Morph>>spawnBalloonForHand or something like this
Hah, I just VNCed into that image: It was in Morph>>showBallon:hand:, the
fix is attached.
-- Bert
-------------- next part --------------
'From Squeak2.9alpha of 13 June 2000 [latest update: #2875] on 5 November 2000 at 12:54:38 am'!
"Change Set: HalloweenFixes-bf
Date: 1 November 2000
Author: Bert Freudenberg
Buglets fixed:
* Magnifier used Hand>>lastEvent for no good reason.
* A scheduled balloon popup would fail when the morph was deleted in the mean time."!
!Morph methodsFor: 'halos and balloon help' stamp: 'bf 11/1/2000 15:58'!
showBalloon: msgString hand: aHand
"Pop up a balloon containing the given string,
first removing any existing BalloonMorphs in the world."
| w balloon h |
(w _ self world) ifNil: [^ self].
h _ aHand.
h ifNil:[
h _ w activeHand].
balloon _ BalloonMorph string: msgString for: self balloonHelpAligner.
balloon popUpFor: self hand: h.! !
!MagnifierMorph methodsFor: 'magnifying' stamp: 'bf 11/1/2000 16:02'!
sourcePoint
"If we are being dragged use our center, otherwise use pointer position"
^(trackPointer not or: [owner notNil and: [owner isHandMorph]])
ifTrue: [self center]
ifFalse: [self currentHand position]! !
More information about the Squeak-dev
mailing list
|