summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2019-01-24 17:25:15 +0100
committermvglasow <michael -at- vonglasow.com>2019-01-24 17:25:15 +0100
commit33da9ddbba408d1f11b54fcbd1330780d2055518 (patch)
tree0d1007f93333431388232edd6ab7a5510d26fb5b
parent56b59c6d9844ba02dccec7250a1b7361e3b38266 (diff)
downloadnavit-33da9ddbba408d1f11b54fcbd1330780d2055518.tar.gz
Add:gui:Move follow button to bottom right
Signed-off-by: mvglasow <michael -at- vonglasow.com>
-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 6ca7a5d1f..275e9aff7 100644
--- a/navit/xslt/osd_minimum.xslt
+++ b/navit/xslt/osd_minimum.xslt
@@ -31,7 +31,7 @@
<xsl:text>&#x0A; </xsl:text>
<osd type="button" src="zoom_out_{number($ICON_BIG)}_{number($ICON_BIG)}.png" command="zoom_out()" x="{round(-2*(number($ICON_BIG)+8*number($OSD_SIZE))-60*number($OSD_SIZE))}" y="{-round(number($ICON_BIG)+22*number($OSD_SIZE))}" osd_configuration="1" use_overlay="{$OSD_USE_OVERLAY}"/>
<xsl:text>&#x0A; </xsl:text>
- <osd type="button" src="follow_{number($ICON_BIG)}_{number($ICON_BIG)}.png" command="follow=0;set_center_cursor()" x="{round(8*number($OSD_SIZE))}" y="{round(-2*(number($ICON_BIG)+8*number($OSD_SIZE))-14*number($OSD_SIZE))}" enable_expression="follow>1" use_overlay="{$OSD_USE_OVERLAY}"/>
+ <osd type="button" src="follow_{number($ICON_BIG)}_{number($ICON_BIG)}.png" command="follow=0;set_center_cursor()" x="{round(-(number($ICON_BIG)+8*number($OSD_SIZE)))}" y="{round(-(number($ICON_BIG)+8*number($OSD_SIZE))-94*number($OSD_SIZE))}" enable_expression="follow>1" use_overlay="{$OSD_USE_OVERLAY}"/>
<xsl:text>&#x0A; </xsl:text>
<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>