Skip to content

Commit

Permalink
feat(小狼毫配置): 字号百分比配置
Browse files Browse the repository at this point in the history
- 添加字号百分比配置
- 注释不再使用的配置
  • Loading branch information
mirtlecn authored and Mintimate committed May 13, 2024
1 parent abb60fb commit d162fb6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions weasel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ style:

fullscreen: false # 候选窗口全屏显示:true;false
vertical_text: false # 竖排文本:true;false
text_orientation: horizontal # 文本排列方向,效果和 `vertical_text` 相同:horizontal;vertical
# text_orientation: horizontal # 文本排列方向,效果和 `vertical_text` 相同:horizontal;vertical
candidate_list_layout: stacked # stacked | linear 候选项排列方向(似乎只有在custom内才可以生效)
horizontal: false # 候选项水平排列(在custom内和andidate_list_layout的linear效果一样)
vertical_text_left_to_right: false # 竖排方向是否从左到右:true;false
Expand All @@ -60,11 +60,14 @@ style:
display_tray_icon: false # 托盘显示独立于语言栏的额外图标:true;false
antialias_mode: default # 次像素反锯齿设定:default;force_dword;cleartype;grayscale;aliased
candidate_abbreviate_length: 30 # 候选项略写,超过此数字则用省略号代替。设置为 0 则不启用此功能
mouse_hover_ms: 0 # 鼠标悬停选词响应时间(ms),设置为 0 时禁用该功能
mouse_hover_ms: 0 # ! 已弃用。鼠标悬停选词响应时间(ms),设置为 0 时禁用该功能
hover_type: none # 鼠标在候选窗口悬停时:none(无动作);hilite(选中鼠标下的候选);semi_hilite(高亮鼠标下的候选)
paging_on_scroll: true # 在候选窗口上滑动滚轮的行为:true(翻页);false (选中下一个候选)
click_to_capture: false # 鼠标点击候选项,创建截图:true;false

layout:
baseline: 0 # 字号百分比,与 linespacing 一同设置可解决字体跳动问题,设置为 0 为禁用
linespacing: 0 # 字号百分比,参考 <https://github.com/rime/weasel/pull/1177>
align_type: center # 标签、候选文字、注解文字之间的相对对齐方式:top ; center ; bottom
max_height: 600 # 候选框最大高度,horizontal 布局如宽超此尺寸则换行显示候选,设置为 0 不启用此功能
max_width: 0 # 候选框最大宽度,文本竖排模式下如高度超此尺寸则换列显示候选,设置为 0 不启用此功能
Expand Down

0 comments on commit d162fb6

Please sign in to comment.