phosh: allow fractional scaling

This commit is contained in:
colin 2022-06-01 15:43:14 -07:00
parent 82107c36a5
commit cabf369f83

View file

@ -78,7 +78,7 @@ let
description = ''
Display scaling factor.
'';
type = types.nullOr types.ints.unsigned;
type = types.nullOr (types.either types.ints.unsigned types.float);
default = null;
example = 2;
};