KASM-5524 negative numbers on text rotation watermark

This commit is contained in:
Matthew McClaskey 2024-01-30 16:44:31 +00:00
parent 3bc1024e7f
commit 8c7dd2ed30

View File

@ -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;
},