We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa4646 commit 148568fCopy full SHA for 148568f
app/Http/Controllers/API/v1/FontAwesome/v5/PinController.php
@@ -39,8 +39,8 @@ public function show()
39
// RESIZE THE ICON
40
$size = Request::get('size') ?: 40;
41
$iconSize = Request::get('iconSize') ?: ($size / 3.2);
42
- $voffset = Request::get('voffset') ?: 0;
43
- $hoffset = Request::get('hoffset') ?: 0;
+ $voffset = (Request::get('voffset') ?: 0) + 3; //calibrated offset +3
+ $hoffset = (Request::get('hoffset') ?: 0) + 1; // calibrated offset +1
44
45
$img->resize($size, $size, function ($constraint) {
46
$constraint->aspectRatio();
0 commit comments