Q3map2:
* fix: parsing of /* */ comments, having * or / inside
Radiant:
misc...
encapsulate RETURN_FALSE_IF_FAIL macros with do while 0: minus warnings
* button to call color selector from ents inspector color entry
* explanatory text on initial engine path configuration
* don't show Global preferences by default, except first start
* activate {xyview, camera, texbro glwidget} on mouse button press and scroll, so {texbro treeview and console} hotkeys do not override global ones
* activate windows, containing xyview, camera, texbro on mouse scroll
* fix: autoapplying trigger texture on entity creation is undoable
* fix: texbro m1/2 x2 work, when some tag is loaded
* bold key and spawnflags names in entity inspector entity description
* fix: +CameraFreeMove* command, +shift, -CameraFreeMove*, -shift = still moving (reason: caps letter)
This commit is contained in:
@@ -342,14 +342,14 @@ AcceleratorMap g_keydown_accelerators;
|
||||
AcceleratorMap g_keyup_accelerators;
|
||||
|
||||
bool Keys_press( PressedKeys::Keys& keys, guint keyval ){
|
||||
if ( keys.insert( keyval ).second ) {
|
||||
if ( keys.insert( gdk_keyval_to_upper( keyval ) ).second ) {
|
||||
return AcceleratorMap_activate( g_keydown_accelerators, accelerator_for_event_key( keyval, 0 ) );
|
||||
}
|
||||
return g_keydown_accelerators.find( accelerator_for_event_key( keyval, 0 ) ) != g_keydown_accelerators.end();
|
||||
}
|
||||
|
||||
bool Keys_release( PressedKeys::Keys& keys, guint keyval ){
|
||||
if ( keys.erase( keyval ) != 0 ) {
|
||||
if ( keys.erase( gdk_keyval_to_upper( keyval ) ) != 0 ) {
|
||||
return AcceleratorMap_activate( g_keyup_accelerators, accelerator_for_event_key( keyval, 0 ) );
|
||||
}
|
||||
return g_keyup_accelerators.find( accelerator_for_event_key( keyval, 0 ) ) != g_keyup_accelerators.end();
|
||||
|
||||
Reference in New Issue
Block a user