<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>> <span style="font-size: 12pt;">Hmmm.... I would rather use that shortcut to increase/decrease the font size in a particular text field as it would be much faster and fine-grained for an ad-hoc demo. :-)</span></p>
<div><br>
</div>
<div>This is a major new feature request. We can implement that at a later point in time, but until then, I consider this a small but helpful convenience.</div>
<div><br>
</div>
<div>> <span>The gesture is too simple for that probably slow update of changing the scale factor.</span></div>
<div><span><br>
</span></div>
<div><span>Did you ever perform this gesture by accident? Me never. Let's find out whether this actually bothers people, I think it won't. After the release, of course. :-)</span></div>
<div><span><br>
</span></div>
<div><span>> </span><span style="font-size: 12pt;">Also that shortcut is already taken on macOS for the very same thing using a OS-based magnifer.</span><span>
<div><br>
</div>
<div>Well, there are so many shortcuts that are not supported on all platforms, right? The Apple folk then will need to stick with Ctrl + [+/-], I think.</div>
<div><br>
</div>
<div>Best,</div>
<div>Christoph</div>
</span></div>
<p></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> Montag, 9. Mai 2022 11:21:57<br>
<b>An:</b> squeak-dev<br>
<b>Betreff:</b> Re: [squeak-dev] The Inbox: Morphic-ct.1990.mcz</font>
<div> </div>
</div>
<div>
<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
Hmmm.... I would rather use that shortcut to increase/decrease the font size in a particular text field as it would be much faster and fine-grained for an ad-hoc demo. :-)
<div><br>
</div>
<div>The gesture is too simple for that probably slow update of changing the scale factor. Also that shortcut is already taken on macOS for the very same thing using a OS-based magnifer.</div>
<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;min-width: 500px">
<p style="color: #AAAAAA; margin-top: 10px;">Am 07.05.2022 21:25:12 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.1990.mcz<br>
<br>
==================== Summary ====================<br>
<br>
Name: Morphic-ct.1990<br>
Author: ct<br>
Time: 7 May 2022, 9:24:23.224169 pm<br>
UUID: 0c3f85a9-6b74-7e49-9dfd-799f19a50fd3<br>
Ancestors: Morphic-nice.1989<br>
<br>
Proposal: Uses Ctrl + mouseWheelUp/mouseWheelDown for increasing/decreasing the ui scale factor. At least on Windows, this even works for the touchpad zoom gestures pinch/stretch out. Adds #isWheelHorizontal and #isWheelVertical tests on MouseWheelEvent.<br>
<br>
=============== Diff against Morphic-nice.1989 ===============<br>
<br>
Item was added:<br>
+ ----- Method: MouseWheelEvent>>isWheelHorizontal (in category 'testing') -----<br>
+ isWheelHorizontal<br>
+ ^ direction anyMask: 2r0011!<br>
<br>
Item was added:<br>
+ ----- Method: MouseWheelEvent>>isWheelVertical (in category 'testing') -----<br>
+ isWheelVertical<br>
+ ^ direction anyMask: 2r1100!<br>
<br>
Item was added:<br>
+ ----- Method: PasteUpMorph>>handlesMouseWheel: (in category 'as yet unclassified') -----<br>
+ handlesMouseWheel: anEvent<br>
+ <br>
+ self flag: #vmCapability. "Modifier keys are currently missing in MouseWheelEvents. See: https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/630"<br>
+ ^ "anEvent"Sensor controlKeyPressed<br>
+ and: [anEvent isWheelVertical]<br>
+ and: [self isWorldMorph]!<br>
<br>
Item was added:<br>
+ ----- Method: PasteUpMorph>>mouseWheel: (in category 'as yet unclassified') -----<br>
+ mouseWheel: anEvent<br>
+ <br>
+ anEvent isWheelUp<br>
+ ifTrue: [Preferences increaseFontSize]<br>
+ ifFalse: [Preferences decreaseFontSize].!<br>
<br>
Item was changed:<br>
----- Method: ScrollPane>>handlesMouseWheel: (in category 'event handling') -----<br>
handlesMouseWheel: evt<br>
+ <br>
+ self flag: #vmCapability. "Modifier keys are currently missing in MouseWheelEvents. See: https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/630"<br>
+ ^ "anEvent"Sensor controlKeyPressed not!<br>
- ^ true!<br>
<br>
<br>
</div>
</blockquote>
</div>
</div>
</body>
</html>