feat: add stacking history with fading older entries

The last historyCount combos (1-5, default 1) stack on screen instead
of vanishing: each new combo pushes the previous one down the stack and
every older entry fades step by step (entryOpacity gradient). The stack
direction follows the position by default — top positions grow downward
(newest on top), bottom positions grow upward (newest at the bottom
edge) — and is not configurable. The panel gains a History NumberField
for the count.

Middle positions (center-left/center-right/center-center) were removed
from the dropdown and any leftover config value is folded into the
bottom row. With lingerMs 0 entries never expire, so the stack keeps
the last few combos on screen until newer ones push them out.

Manifest bumped to 1.6.0.
This commit is contained in:
felixzsh
2026-08-12 09:30:57 -05:00
parent d1afc68b70
commit d6c608374c
4 changed files with 187 additions and 55 deletions
+9 -7
View File
@@ -141,16 +141,18 @@ the plugin on every edit. Editing this file updates the display live:
"mode": "all",
"position": "bottom-center",
"margin": 67,
"lingerMs": 1000
"lingerMs": 1000,
"historyCount": 1
}
```
| Option | Values | Default |
|-------------|----------------------------------------------------|-----------------|
| `mode` | `all` or `bindings` (only combos with a modifier) | `all` |
| `position` | any of the nine: `top-left``bottom-right`, plus `center` | `bottom-center` |
| `margin` | px from the screen edge | `67` |
| `lingerMs` | ms a released combo stays; `0` keeps it until the next key (keyviz defaults to `5000`) | `1000` |
| Option | Values | Default |
|----------------|----------------------------------------------------|-----------------|
| `mode` | `all` or `bindings` (only combos with a modifier) | `all` |
| `position` | six placements: `top-left``bottom-right` (middle positions were dropped; the stack anchors to the top or bottom edge) | `bottom-center` |
| `margin` | px from the screen edge | `67` |
| `lingerMs` | ms a released combo stays; `0` keeps it until the next key (keyviz defaults to `5000`) | `1000` |
| `historyCount` | how many combos stack on screen (15); older entries fade | `1` |
Deeper tweaks still live in the QML/Lua sources: