Commit cd65494f authored by alexpott's avatar alexpott

Issue #2318297 by fietserwin: Rotate effect: do not use html entity for...

Issue #2318297 by fietserwin: Rotate effect: do not use html entity for 'degree' but its unicode character.
parent 629ebca2
......@@ -104,7 +104,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta
'#default_value' => $this->configuration['degrees'],
'#title' => t('Rotation angle'),
'#description' => t('The number of degrees the image should be rotated. Positive numbers are clockwise, negative are counter-clockwise.'),
'#field_suffix' => '°',
'#field_suffix' => '°',
'#required' => TRUE,
);
$form['bgcolor'] = array(
......
......@@ -20,8 +20,8 @@
#}
{% if data.random %}
{% trans %}
random between -{{ data.degrees|abs }}° and {{ data.degrees|abs }}°
random between -{{ data.degrees|abs }}° and {{ data.degrees|abs }}°
{% endtrans %}
{% else %}
{{ data.degrees }}°
{{ data.degrees }}°
{% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment