From 6ee53c23d3b622b7b3cffe686431a6ad4b0a200e Mon Sep 17 00:00:00 2001 From: Cem Aksoylar Date: Fri, 20 Oct 2023 12:05:57 -0700 Subject: [PATCH] docs: Document per-combo width/height --- KEYMAP_SPEC.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/KEYMAP_SPEC.md b/KEYMAP_SPEC.md index 759e253..8bfd555 100644 --- a/KEYMAP_SPEC.md +++ b/KEYMAP_SPEC.md @@ -132,6 +132,8 @@ This is an optional field that contains a list of combo specs, each of which is | `slide (s)` | `null \| float (-1 <= val <= 1)` | `null` | slide the combo box along an axis between keys -- can be used for moving `top`/`bottom` combo boxes left/right, `left`/`right` boxes up/down, or `mid` combos between two keys | | `arc_scale` | `float` | `1.0` | scale the arcs going left/right for `top`/`bottom` or up/down for `left`/`right` aligned combos | | `type` | `str` | `""` | the styling of the key that corresponds to the [SVG class](keymap_drawer/config.py#L51), see `LayoutKey` definition above | +| `width (w)` | `float` | `null` | the width of the combo box (in pixels), defaults to `draw_config.combo_w` if null | +| `height (w)` | `float` | `null` | the height of the combo box (in pixels), defaults to `draw_config.combo_h` if null | All fields except `key_positions`, `key` and `type` are ignored when `draw_config.separate_combo_diagrams` is used.