mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-15 20:42:44 +00:00
Keyboard input
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "Environ.h"
|
||||
#include "House.h"
|
||||
#include "RectUtils.h"
|
||||
#include "PLKeyEncoding.h"
|
||||
|
||||
|
||||
#define kMainWindowID 128
|
||||
@@ -353,7 +354,7 @@ void HandleMainClick (Point wherePt, Boolean isDoubleClick)
|
||||
DoNewObjectClick(wherePt);
|
||||
|
||||
GetKeys(theseKeys);
|
||||
if (!BitTst(&theseKeys, kShiftKeyMap))
|
||||
if (!BitTst(theseKeys, PL_KEY_EITHER_SPECIAL(kShift)))
|
||||
{
|
||||
EraseSelectedTool();
|
||||
SelectTool(kSelectTool);
|
||||
|
||||
Reference in New Issue
Block a user