Merge branch 'bugfix/KASM-5524_watermark_rotation_negative_number' into 'master'

KASM-5524 negative numbers on text rotation watermark

Closes KASM-5524

See merge request kasm-technologies/internal/KasmVNC!123
This commit is contained in:
Justin Travis 2024-01-30 18:26:11 +00:00
commit a10358b5ca

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