diff options
| author | Alexander Orzechowski <alex@ozal.ski> | 2025-01-05 02:36:33 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-01-18 08:23:41 +0000 |
| commit | de3becef96f30b96f0fceddf73805c3951ccb59f (patch) | |
| tree | 66edfcf809618df064f6a30d1c18b4946fc5002b /config.c | |
| parent | terminal: Refresh only overlay when flash expires (diff) | |
Revert "config: don't allow colors.flash-alpha to be 1.0"
This reverts commit 56d2c3e990509d18de31e6009e0d0c6254f99b67.
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1445,8 +1445,8 @@ parse_section_colors(struct context *ctx) if (!value_to_float(ctx, &alpha)) return false; - if (alpha < 0. || alpha >= 1.) { - LOG_CONTEXTUAL_ERR("not in range 0.0-0.999"); + if (alpha < 0. || alpha > 1.) { + LOG_CONTEXTUAL_ERR("not in range 0.0-1.0"); return false; } |
