Fixed #553: Switch projector control scroll arrows
This commit is contained in:
parent
1e8e5334a5
commit
e81ed882ca
@ -13,10 +13,10 @@
|
||||
</a>
|
||||
</p>
|
||||
<p>
|
||||
<a class="projector_edit btn btn-mini" href="{% url 'projector_up' %}" title="{% trans 'Scroll text up' %}">
|
||||
<a class="projector_edit btn btn-mini" href="{% url 'projector_up' %}" title="{% trans 'Scroll visible view up' %}">
|
||||
<i class="icon-arrow-up"></i>
|
||||
</a><br>
|
||||
<a class="projector_edit btn btn-mini" href="{% url 'projector_down' %}" title="{% trans 'Scroll text down' %}">
|
||||
<a class="projector_edit btn btn-mini" href="{% url 'projector_down' %}" title="{% trans 'Scroll visible view down' %}">
|
||||
<i class="icon-arrow-down"></i>
|
||||
</a>
|
||||
</p>
|
||||
|
@ -216,9 +216,9 @@ class ProjectorEdit(RedirectView):
|
||||
config['bigger'] = int(config['bigger']) + 20
|
||||
elif direction == 'smaller':
|
||||
config['bigger'] = int(config['bigger']) - 20
|
||||
elif direction == 'up':
|
||||
config['up'] = int(config['up']) - 10
|
||||
elif direction == 'down':
|
||||
config['up'] = int(config['up']) - 10
|
||||
elif direction == 'up':
|
||||
if config['up'] < 0:
|
||||
config['up'] = int(config['up']) + 10
|
||||
elif direction == 'clean':
|
||||
|
Loading…
Reference in New Issue
Block a user