Skip to content

Commit

Permalink
task (configsetup): make picture rotation range config (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
andi34 authored Jan 13, 2025
1 parent 02bcc45 commit e9e5442
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/configsetup.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,13 @@
],
'picture_rotation' => [
'view' => 'advanced',
'type' => 'number',
'type' => 'range',
'placeholder' => $defaultConfig['picture']['rotation'],
'name' => 'picture[rotation]',
'range_min' => -359,
'range_max' => 359,
'range_step' => 1,
'unit' => 'degrees',
'value' => $config['picture']['rotation'],
],
'picture_polaroid_effect' => [
Expand Down

0 comments on commit e9e5442

Please sign in to comment.