@@ -51,8 +51,8 @@ |
||
51 | 51 | // It takes a bit of time, so if you never plan to use it, you can turn it off |
52 | 52 | 'createColorPalette' => true, |
53 | 53 | |
54 | - // Controls whether SVG placeholder silhouettes should be created for image variants |
|
55 | - // It takes a bit of time, so if you never plan to use them, you can turn it off |
|
54 | + // Controls whether SVG placeholder silhouettes should be created for image variants |
|
55 | + // It takes a bit of time, so if you never plan to use them, you can turn it off |
|
56 | 56 | 'createPlaceholderSilhouettes' => false, |
57 | 57 | |
58 | 58 | // Controls whether retina images are automatically created with reduced quality |
@@ -208,7 +208,7 @@ |
||
208 | 208 | if (ImageHelper::canManipulateAsImage($asset->getExtension())) { |
209 | 209 | $transform = new AssetTransform([ |
210 | 210 | 'width' => $event->width, |
211 | - 'height' => $event->height, |
|
211 | + 'height' => $event->height, |
|
212 | 212 | 'interlace' => 'line', |
213 | 213 | ]); |
214 | 214 | /** @var ImageTransform $transformMethod */ |
@@ -220,11 +220,11 @@ |
||
220 | 220 | // If the scenario is Asset::SCENARIO_FILEOPS or Asset::SCENARIO_MOVE (if using Craft > v3.7.1) treat it as a new asset |
221 | 221 | $scenario = $asset->getScenario(); |
222 | 222 | |
223 | - $supportsMoveScenario = version_compare( |
|
224 | - Craft::$app->getVersion(), |
|
225 | - '3.7.1', |
|
226 | - '>=' |
|
227 | - ) === true; |
|
223 | + $supportsMoveScenario = version_compare( |
|
224 | + Craft::$app->getVersion(), |
|
225 | + '3.7.1', |
|
226 | + '>=' |
|
227 | + ) === true; |
|
228 | 228 | |
229 | 229 | if ($isNew || $scenario === Asset::SCENARIO_FILEOPS || ($supportsMoveScenario && $scenario === Asset::SCENARIO_MOVE) ) { |
230 | 230 | /** |