Skip to content

Commit

Permalink
调整
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Mar 18, 2022
1 parent b2f8d99 commit 3b60feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Captcha.php
Expand Up @@ -220,7 +220,7 @@ public function create(string $config = null, bool $api = false): Response

foreach ($text as $index => $char) {

$x = $this->fontSize * ($index + 1) * mt_rand(12, 16) / 10 * ($this->math ? 1 : 1.5);
$x = $this->fontSize * ($index + 1) * ($this->math ? 1 : 1.5);
$y = $this->fontSize + mt_rand(10, 20);
$angle = $this->math ? 0 : mt_rand(-40, 40);

Expand Down

0 comments on commit 3b60feb

Please sign in to comment.