diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-12-16 20:36:51 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-12-16 20:36:51 +0300 |
commit | e34528e1a659996a0efc95353b99cb662fc1e1f5 (patch) | |
tree | f0f7f3e05bbe83b9c7d13cf19becdb2838c037c4 /source/blender/windowmanager/intern/wm_keymap.c | |
parent | 6c2750a6fe849ee6d7af763e62937ab5db37ed20 (diff) |
UI:
* Only open tooltip when the mouse is still over the button.
* Remove an unnecessary redraw call, though the two mentioned
in the previous commit seem to be working OK (it's for action
buttons when you move the mouse away from the button, holding
the mouse button down).
* Fix missing alt key in key event strings.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_keymap.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_keymap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_keymap.c b/source/blender/windowmanager/intern/wm_keymap.c index 8e08c9d0dbf..9a231148c36 100644 --- a/source/blender/windowmanager/intern/wm_keymap.c +++ b/source/blender/windowmanager/intern/wm_keymap.c @@ -495,6 +495,9 @@ static char *wm_keymap_item_to_string(wmKeymapItem *kmi, char *str, int len) if(kmi->ctrl) strcat(buf, "Ctrl "); + if(kmi->alt) + strcat(buf, "Alt "); + if(kmi->oskey) strcat(buf, "OS "); |