Skip to content

Commit

Permalink
fix: fix ignored selection key setting when candidate per page is les…
Browse files Browse the repository at this point in the history
…s than 10
  • Loading branch information
kanru committed Feb 12, 2025
1 parent 208867a commit 7b1652e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

- Fix ignored selection key setting when candidate per page is less than 10.

## [v2.1.3] - 2025-01-01

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/IBusChewingLookupTable.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void ibus_chewing_lookup_table_resize(IBusLookupTable *iTable, ChewingContext *c
}
}
chewing_set_candPerPage(context, len);
chewing_set_selKey(context, selKSym, len);
chewing_set_selKey(context, selKSym, MAX_SELKEY);

gboolean verticalLookupTable = g_settings_get_boolean(settings, "vertical-lookup-table");

Expand Down

0 comments on commit 7b1652e

Please sign in to comment.