summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan FitiƩ <jfitie@gmail.com>2017-08-01 18:53:47 +0200
committerJohan FitiƩ <jfitie@gmail.com>2017-08-01 18:53:47 +0200
commit2f35911cda4a35356b5d6e29abfe516a99525c9a (patch)
tree263c4739f4a4af15a6d2da232dee81b66a85194c
parent08c202f34f9bd0db19db77a01fc036819d406970 (diff)
downloadnavit-2f35911cda4a35356b5d6e29abfe516a99525c9a.tar.gz
Use original pitch when autozoom is not active
-rw-r--r--navit/xslt/osd_minimum.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/xslt/osd_minimum.xslt b/navit/xslt/osd_minimum.xslt
index ece06e284..6cc136461 100644
--- a/navit/xslt/osd_minimum.xslt
+++ b/navit/xslt/osd_minimum.xslt
@@ -23,7 +23,7 @@
<xsl:text>&#x0A; </xsl:text>
<osd type="button" src="gui_zoom_out_{number($ICON_BIG)}_{number($ICON_BIG)}.png" command="zoom_out()" x="0" y="{round(2*(number($ICON_BIG)+8*number($OSD_SIZE)))}" osd_configuration="1" use_overlay="{$OSD_USE_OVERLAY}" enable_expression="autozoom_active==0||follow>1" />
<xsl:text>&#x0A; </xsl:text>
- <osd type="cmd_interface" update_period="1" command="pitch=autozoom_active==0?(pitch==0?0:20):(follow>1?0:20);orientation=autozoom_active==0?orientation:(follow>1?0:-1)" x="-1" y="-1" w="1" h="1" />
+ <osd type="cmd_interface" update_period="1" command="pitch=autozoom_active==0?pitch:(follow>1?0:20);orientation=autozoom_active==0?orientation:(follow>1?0:-1)" x="-1" y="-1" w="1" h="1" />
<xsl:text>&#x0A; </xsl:text>
<osd type="button" src="cursor_{number($ICON_BIG)}_{number($ICON_BIG)}.png" command="follow=0;set_center_cursor()" x="{round(number($ICON_BIG)+8*number($OSD_SIZE))}" y="0" enable_expression="follow>1" use_overlay="{$OSD_USE_OVERLAY}"/>
<xsl:text>&#x0A; </xsl:text>