Make scale use FloatOrInt

This commit is contained in:
Ivan Molodetskikh
2024-06-18 11:01:18 +03:00
parent 793e1bdbc5
commit 986f2c14ab
4 changed files with 21 additions and 12 deletions
+4
View File
@@ -72,6 +72,10 @@ Set the scale of the monitor.
<sup>Since: 0.1.7</sup> You can use fractional scale values, for example `scale 1.5` for 150% scale.
<sup>Since: 0.1.7</sup> Dot is no longer needed for integer scale, for example you can write `scale 2` instead of `scale 2.0`.
<sup>Since: 0.1.7</sup> Scale below 0 and above 10 will now fail during config parsing. Scale was previously clamped to these values anyway.
```
output "eDP-1" {
scale 2.0