[squeak-dev] The Inbox: Morphic-ct.1787.mcz
Christoph.Thiede at student.hpi.uni-potsdam.de
Tue Oct 19 17:34:46 UTC 2021
I was trying to replicate the style from #mouseDown: & Co. Shall I also move the checks there into the relevant #handlesMouse...: selectors?
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel
Gesendet: Dienstag, 19. Oktober 2021 15:39:41
Betreff: Re: [squeak-dev] The Inbox: Morphic-ct.1787.mcz
This check should be implemented via #handlesKeyboard:, not in #keyStroke:.
Am 18.10.2021 18:00:38 schrieb commits at source.squeak.org <commits at source.squeak.org>:
A new version of Morphic was added to project The Inbox:
==================== Summary ====================
Time: 18 October 2021, 6:00:19.065559 pm
Don't raise an error when pressing a key while focusing an empty scroll bar (such as the main panel in a freshly opened preference browser).
=============== Diff against Morphic-ul.1780 ===============
Item was changed:
----- Method: ScrollPane>>keyStroke: (in category 'event handling') -----
"If pane is not empty, pass the event to the last submorph,
assuming it is the most appropriate recipient (!!)"
+ scroller hasSubmorphs ifTrue:
+ [scroller lastSubmorph keyStroke: evt].!
- scroller submorphs last keyStroke: evt!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev