Localisation updates from https://translatewiki.net.
[potlatch2.git] / potlatch2.mxml
index d52e715..5c1fd75 100644 (file)
@@ -62,6 +62,8 @@
                                </fx:Array>
                        </mx:dataProvider>
                </mx:PopUpMenuButton>
+        <mx:PopUpButton id="bookmarkButton" label="Bookmarks" openAlways="true" styleName="appBarButton" open="disableMapMouse();" close="enableMapMouse();" 
+            creationComplete="bookmarkButton.popUp = new BookmarkSelector().init();"/>
         <mx:Button id="tasksButton" label="Tasks" click="new TasksDialog().init(theController);" styleName="appBarButton" toolTip="Load tasks file" />
         <mx:Button id="optionsButton" label="Options" click="new OptionsDialog().init();" styleName="appBarButton" />
     </mx:ApplicationControlBar>
@@ -76,9 +78,9 @@
             <mx:Canvas id="map_area" resize="onResizeMap()"
                 top="0" left="0" width="100%" height="100%" dragEnter="dragEnterHandler(event);" dragDrop="dragDropHandler(event);">
             </mx:Canvas>
-            <mx:Image source="@Embed('embedded/zoomIn.svg')" left="5" top="5" click="theMap.zoomIn();"
+            <mx:Image source="@Embed('embedded/zoomIn.svg')" left="5" top="5" click="theMap.zoomIn(event.shiftKey ? 3 : 1);"
                 rollOverEffect="glowImage" rollOutEffect="unglowImage" toolTip="{'Zoom in - currently z'+getScale()}" />
-            <mx:Image source="@Embed('embedded/zoomOut.svg')" left="5" top="22" click="theMap.zoomOut();"
+            <mx:Image source="@Embed('embedded/zoomOut.svg')" left="5" top="22" click="theMap.zoomOut(event.shiftKey ? 3 : 1);"
                 rollOverEffect="glowImage" rollOutEffect="unglowImage" toolTip="{'Zoom out - currently z'+getScale()}" />
             <mx:Image source="@Embed('embedded/search.svg')" left="5" top="42" click="new FindDialog().init();"
                 rollOverEffect="glowImage" rollOutEffect="unglowImage" toolTip="Find place" />
@@ -86,7 +88,7 @@
                 enabled="false" borderThickness="0"
                 showEffect="{wipeIn}" hideEffect="{wipeOut}"/>
             <mx:TextArea id="coordsbox" left="25" top="5" disabledColor="black" backgroundDisabledColor="0xFFFFEA" height="33"
-                width="57" enabled="false" borderThickness="0" visible="false"/>
+                width="70" enabled="false" borderThickness="0" visible="false"/>
 
         </mx:Canvas>
         <potlatch2:ContextualHelp width="100%" height="30" id="contextHelp" />