Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidated update to Squirrel #749

Merged
merged 15 commits into from
Apr 15, 2023
Merged

Consolidated update to Squirrel #749

merged 15 commits into from
Apr 15, 2023

Conversation

LEOYoon-Tsaw
Copy link
Member

@LEOYoon-Tsaw LEOYoon-Tsaw commented Apr 14, 2023

  • Surrounding high lights for all candidates:
    • Set preset_color_schemes/xxx/candidate_back_color to enable (Not specified unless explicitly defined)
    • style/surrounding_extra_expansion controls the relative size to the selected candidate's surrounding block. Negative value means smaller, while positive means larger, default to 0.
  • Adopts TextKit 2, the result is more reliable text layout, especially in vertical mode, and with exotic characters like Emoji. 高亮背景显示错乱 #748
    • This is also an elegant fix for the annoying line height alternation when Emoji shows and disappears.
    • Requires macOS 12+
  • Mouse interactions (Needs Add new APIs, peek selection and change page librime#620)
    • Hover over and click on any candidate to select it
    • Swipe or scroll on the panel to page up/down
  • Various UI improvements:
    • style/border_height and style/border_width can now be negative, use in combination with style/corner_radius
    • style/line_spacing and spacing can now be negative.
    • All font_size can use float number.
    • Labels are vertically centered when using a different label_font_size from the main font_size
    • Add style/status_message_type: mix(default) / long / short to Handle abbrev status label when status updates
    • Add style/memorize_size: true/false to control sticking panel width behavior, if you want stable first candidate position. i.e. 候选框随候选自动伸长到屏幕边缘后,回删时不再根据候选自动缩短 #523
    • style/alpha: 0 is now valid, can be used to completely hide the panel
    • Add style/shadow_size: 0 to specify shadow under selected candidate. Default to 0 with no shadow.
    • Add style/mutual_exclusive: true/false to allow colors not stacking on each other, and have greater flexibility in transparent UI design. Default to false

@lotem lotem merged commit 7de3919 into rime:master Apr 15, 2023
@LEOYoon-Tsaw
Copy link
Member Author

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants