[BUG][FIX] anyModifierKeyPressed still uses macOptionKeyPressed

Alexander Lazarevic Alexander at Lazarevic.de
Tue Sep 28 07:17:16 UTC 1999


Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit

Subject says it all. Just a small fix.

Alex.


Content-Type: text/plain
Content-Description: makes anyModifierKeyPressed to use yellowButtonPressed
Content-Disposition: inline;
	filename="MorphicEvent-anyModifierKeyPressed.st"
Content-Transfer-Encoding: 7bit

'From Squeak 2.5 of August 6, 1999 [latest update: #1498] on 28 September 1999 at 8:08:03 am'!

!MorphicEvent methodsFor: 'keyboard' stamp: 'laza 9/28/1999 08:01'!
anyModifierKeyPressed
	"ignore, however, the shift keys 'cause that's not REALLY a command 
	key "
	^ (self commandKeyPressed or: [self controlKeyPressed])
		or: [self yellowButtonPressed]! !

'From Squeak 2.5 of August 6, 1999 [latest update: #1498] on 28 September 1999 at 8:16:14 am'!

!InputSensor methodsFor: 'modifier keys' stamp: 'laza 9/28/1999 08:16'!
anyModifierKeyPressed
	"ignore, however, the shift keys 'cause that's not REALLY a command key"

	^ ((self commandKeyPressed or: [self controlKeyPressed]) or: [self yellowButtonPressed])! !

Content-Type: text/plain; charset=us-ascii
Content-Description: .signature
Content-Transfer-Encoding: 7bit

-- 
------  Alexander  Lazarevic  ------------------------------------------------
-- Otto-von-Guericke-Universitaet            mailto: Alexander at Lazarevic.de --
--   Computational Visualistics    http://www.cs.uni-magdeburg.de/~lazarevi --





More information about the Squeak-dev mailing list