[squeak-dev] The Trunk: ToolBuilder-Morphic-mt.160.mcz
Chris Muller
asqueaker at gmail.com
Wed Mar 30 15:14:57 UTC 2016
Thank you!! My guess is this will fix the bug where, when I drag a
class to a new package-category (of a filtered list), it will put it
in the one I dragged it to..
On Wed, Mar 30, 2016 at 8:57 AM, <commits at source.squeak.org> wrote:
> Marcel Taeumel uploaded a new version of ToolBuilder-Morphic to project The Trunk:
> http://source.squeak.org/trunk/ToolBuilder-Morphic-mt.160.mcz
>
> ==================== Summary ====================
>
> Name: ToolBuilder-Morphic-mt.160
> Author: mt
> Time: 30 March 2016, 3:57:02.584647 pm
> UUID: c90bb584-3c2d-4eaf-9a84-b6658026e00c
> Ancestors: ToolBuilder-Morphic-kfr.159
>
> Fixes bug where dropping into filtered lists passed the wrong index to the model.
>
> =============== Diff against ToolBuilder-Morphic-kfr.159 ===============
>
> Item was changed:
> ----- Method: PluggableListMorphPlus>>acceptDroppingMorph:event: (in category 'drag and drop') -----
> acceptDroppingMorph: aTransferMorph event: evt
>
> dropItemSelector ifNil: [^ self].
> potentialDropRow ifNil: [^ self].
>
> model
> perform: dropItemSelector
> withEnoughArguments: {
> aTransferMorph passenger.
> + self modelIndexFor: potentialDropRow.
> - potentialDropRow.
> aTransferMorph shouldCopy.
> aTransferMorph}.
>
> self resetPotentialDropRow.
> evt hand releaseMouseFocus: self.
> Cursor normal show.
> !
>
>
More information about the Squeak-dev
mailing list
|