[squeak-dev] The Trunk: Morphic-mt.2004.mcz

karl ramberg karlramberg at gmail.com
Thu Jun 9 17:42:08 UTC 2022


If we exclude MenuMorphs as well here we cover most use cases :-)

Best,
Karl


On Thu, Jun 9, 2022 at 11:22 AM <commits at source.squeak.org> wrote:

> Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
> http://source.squeak.org/trunk/Morphic-mt.2004.mcz
>
> ==================== Summary ====================
>
> Name: Morphic-mt.2004
> Author: mt
> Time: 9 June 2022, 11:22:18.32773 am
> UUID: aa7a84f1-7b05-414a-a3e7-107333694eff
> Ancestors: Morphic-mt.2003
>
> Fixes regression in prior commit with "fast-window-drag" enabled.
>
> =============== Diff against Morphic-mt.2003 ===============
>
> Item was changed:
>   ----- Method: SystemWindow>>mouseEnterDragging: (in category 'events')
> -----
>   mouseEnterDragging: evt
>         "unlock children for drop operations"
>
>         self flag: #performance. "mt: There may be no need to change
> appearance if no widget wants the drop. As a trade-off, we avoid expensive
> visual updates if the user drags a system window and window-embedding in
> nested world morphs is not allowed."
> +       (evt hand hasSubmorphs
> +               and: [evt hand firstSubmorph isSystemWindow]
> -       (evt hand firstSubmorph isSystemWindow
>                 and: [Preferences systemWindowEmbedOK not])
>                         ifTrue: [^ self].
>
>         self isActive ifTrue: [self lookFocused].
>
>         (self isActive not and: [evt hand hasSubmorphs]) ifTrue: [
>                 self activate. "unlock contents for drop"
>                 evt hand addMouseListener: self. "for drop completion on
> submorph"
>         ].!
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220609/e33c6df4/attachment.html>


More information about the Squeak-dev mailing list