fix caret/keyboard issue(#62)

pressing space on a button will trigger click event
This commit is contained in:
Jinhao
2015-07-05 16:21:13 +08:00
parent 37481a2065
commit 0d14620052
5 changed files with 56 additions and 51 deletions

View File

@@ -1073,7 +1073,7 @@ namespace detail
while (new_stop && (wd != new_stop))
{
if (new_stop->flags.enabled && new_stop->visible)
if (new_stop->flags.enabled && new_stop->displayed())
return new_stop;
new_stop = get_tabstop(new_stop, forward);