@@ -45,7 +45,7 @@ |
||
| 45 | 45 | } |
| 46 | 46 | $behaviour = new \stdClass(); |
| 47 | 47 | $behaviour->type = $type; |
| 48 | - if (!is_null($factor) && $type === 'parallax') { |
|
| 48 | + if (!is_null($factor) && $type === 'parallax') { |
|
| 49 | 49 | $behaviour->factor = (float) $factor; |
| 50 | 50 | } |
| 51 | 51 | $this->behaviour = $behaviour; |