mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-24 17:14:01 +01:00
KASM-5524 negative numbers on text rotation watermark
This commit is contained in:
parent
3bc1024e7f
commit
8c7dd2ed30
@ -1871,7 +1871,7 @@ sub DefineConfigToCLIConversion {
|
||||
isValidCallback => sub {
|
||||
my $value = shift;
|
||||
|
||||
return 0 unless $value =~ /^\d+$/;
|
||||
return 0 unless $value =~ /^-?\d+$/;
|
||||
|
||||
$value >= -359 && $value <= 359;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user