fix _averageBrightness bug
This commit is contained in:
parent
a38a29a99d
commit
9b96323f3e
@ -4449,7 +4449,7 @@ sub ASC_Debug {
|
||||
}
|
||||
|
||||
sub _averageBrightness {
|
||||
my @input = shift;
|
||||
my @input = @_;
|
||||
use List::Util qw(sum);
|
||||
|
||||
return int( sum(@input) / @input );
|
||||
|
Loading…
Reference in New Issue
Block a user