[Pkg] The Trunk: Morphic-mt.1615.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jan 6 09:17:59 UTC 2020

Marcel Taeumel uploaded a new version of Morphic to project The Trunk:

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

Name: Morphic-mt.1615
Author: mt
Time: 6 January 2020, 10:17:52.75843 am
UUID: 24a18424-814a-df44-a3d6-d7678f2be6ba
Ancestors: Morphic-mt.1614

Fixes two selection bugs lists and alternate-multi-selection lists.

=============== Diff against Morphic-mt.1614 ===============

Item was added:
+ ----- Method: AlternatePluggableListMorphOfMany>>mouseLeaveDragging: (in category 'event handling') -----
+ mouseLeaveDragging: anEvent
+ 	"Dragging means changing the list's multi-selection state. Thus, there is no support for drag-and-drop of elements within a selection."
+ 	self hoverRow: nil.
+ 	self resetPotentialDropRow.!

Item was changed:
  ----- Method: PluggableListMorph>>mouseUp: (in category 'event handling') -----
  mouseUp: event 
  	| row |
  	model okToChange ifFalse: [^ self].
+ 	(self containsPoint: event position) ifFalse: [^ self].
  	row := self rowAtLocation: event position.
  	row = self selectionIndex
  		ifTrue: [(autoDeselect ifNil: [true]) ifTrue: [row = 0 ifFalse: [self changeModelSelection: 0] ]]
  		ifFalse: [self changeModelSelection: (self modelIndexFor: row)].
  	event hand newKeyboardFocus: self. 
  	hasFocus := true.
  	Cursor normal show.!

More information about the Packages mailing list