[squeak-dev] The Inbox: Morphic-ct.1711.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Nov 11 12:11:56 UTC 2020

A new version of Morphic was added to project The Inbox:

==================== Summary ====================

Name: Morphic-ct.1711
Author: ct
Time: 11 November 2020, 1:11:49.166952 pm
UUID: baf41a9d-f92f-f44a-b3d8-a7fd571abb2b
Ancestors: Morphic-mt.1710

Proposal/fix: Repair the help handle functionality and show a dialog window instead of a balloon. This also improves the responsiveness of behavior IMHO.

=============== Diff against Morphic-mt.1710 ===============

Item was changed:
  ----- Method: HaloMorph>>addHelpHandle: (in category 'handles') -----
  addHelpHandle: haloSpec
  	target balloonText ifNotNil:
+ 		[(self addHandle: haloSpec on: #mouseDown send: #mouseDownOnHelpHandle: to: innerTarget)]
- 		[(self addHandle: haloSpec on: #mouseDown send: #mouseDownOnHelpHandle: to: innerTarget)
- 			on: #mouseUp send: #deleteBalloon to: innerTarget]

Item was changed:
  ----- Method: Morph>>mouseDownOnHelpHandle: (in category 'halos and balloon help') -----
  mouseDownOnHelpHandle: anEvent
  	"The mouse went down in the show-balloon handle"
- 	| str |
  	anEvent shiftPressed ifTrue: [^ self editBalloonHelpText].
+ 	self inform: (self balloonText ifNil: [self noHelpString]).!
- 	str := self balloonText.
- 	str ifNil: [str := self noHelpString].
- 	self showBalloon: str hand: anEvent hand.
- !

More information about the Squeak-dev mailing list