Skip to content

Commit

Permalink
* Fix a bug in candidate window cursor.
Browse files Browse the repository at this point in the history
* Bump version number to v0.09.
  • Loading branch information
PCMan committed Feb 13, 2016
1 parent 4ee0650 commit 456b0da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion installer/installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ AllowSkipFiles off ; cannot skip a file
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\orange-uninstall.ico"

!define PRODUCT_NAME "PIME 輸入法"
!define PRODUCT_VERSION "0.08"
!define PRODUCT_VERSION "0.09"

!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\PIME"
!define HOMEPAGE_URL "https://github.com/EasyIME/"
Expand Down
4 changes: 2 additions & 2 deletions server/input_methods/chewing/chewing_ime.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,15 +346,15 @@ def onKeyDown(self, keyEvent):
elif keyCode == VK_UP: # 游標上移
if candCursor >= cfg.candPerRow:
candCursor -= cfg.candPerRow
ignoreKey = keyHandled = True
ignoreKey = keyHandled = True
elif keyCode == VK_RIGHT: # 游標右移
if (candCursor + 1) < candCount:
candCursor += 1
ignoreKey = keyHandled = True
elif keyCode == VK_DOWN: # 游標下移
if (candCursor + cfg.candPerRow) < candCount:
candCursor += cfg.candPerRow
ignoreKey = keyHandled = True
ignoreKey = keyHandled = True
elif keyCode == VK_RETURN: # 按下 Enter 鍵
# 找出目前游標位置的選字鍵 (1234..., asdf...等等)
selKey = cfg.getSelKeys()[self.candidateCursor]
Expand Down

0 comments on commit 456b0da

Please sign in to comment.