mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
Revert "config: don't allow colors.flash-alpha to be 1.0"
This reverts commit 56d2c3e990.
This commit is contained in:
parent
c2add346ad
commit
301101e7d9
3 changed files with 2 additions and 26 deletions
4
config.c
4
config.c
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue