<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Marcel,</p>
<p><br>
</p>
<p>I was trying to replicate the style from #mouseDown: & Co. Shall I also move the checks there into the relevant #handlesMouse...: selectors?</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel<br>
<b>Gesendet:</b> Dienstag, 19. Oktober 2021 15:39:41<br>
<b>An:</b> squeak-dev<br>
<b>Betreff:</b> Re: [squeak-dev] The Inbox: Morphic-ct.1787.mcz</font>
<div> </div>
</div>
<div>
<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
This check should be implemented via #handlesKeyboard:, not in #keyStroke:.
<div><br>
</div>
<div>Best,</div>
<div>Marcel</div>
<div class="mb_sig"></div>
<blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
<p style="color: #AAAAAA; margin-top: 10px;">Am 18.10.2021 18:00:38 schrieb commits@source.squeak.org <commits@source.squeak.org>:</p>
<div style="font-family:Arial,Helvetica,sans-serif">A new version of Morphic was added to project The Inbox:<br>
http://source.squeak.org/inbox/Morphic-ct.1787.mcz<br>
<br>
==================== Summary ====================<br>
<br>
Name: Morphic-ct.1787<br>
Author: ct<br>
Time: 18 October 2021, 6:00:19.065559 pm<br>
UUID: 5a7cd867-c35a-bf4a-9f21-4f51eae8b612<br>
Ancestors: Morphic-ul.1780<br>
<br>
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).<br>
<br>
=============== Diff against Morphic-ul.1780 ===============<br>
<br>
Item was changed:<br>
----- Method: ScrollPane>>keyStroke: (in category 'event handling') -----<br>
keyStroke: evt<br>
"If pane is not empty, pass the event to the last submorph,<br>
 assuming it is the most appropriate recipient (!!)"<br>
<br>
+ scroller hasSubmorphs ifTrue:<br>
+ [scroller lastSubmorph keyStroke: evt].!<br>
- scroller submorphs last keyStroke: evt!<br>
<br>
<br>
</div>
</blockquote>
</div>
</div>
</body>
</html>