diff --git a/OsmAnd/src/net/osmand/plus/activities/TipsAndTricksActivity.java b/OsmAnd/src/net/osmand/plus/activities/TipsAndTricksActivity.java index c68d5e9952..faa56af9f4 100644 --- a/OsmAnd/src/net/osmand/plus/activities/TipsAndTricksActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/TipsAndTricksActivity.java @@ -16,7 +16,7 @@ import android.widget.TextView; public class TipsAndTricksActivity { private int[][] tipNamesAndDescriptions = new int[][] { - {R.string.tip_recent_changes,R.string.tip_recent_changes_0_8_1_t}, + {R.string.tip_recent_changes,R.string.tip_recent_changes_0_8_2_t}, {R.string.tip_rotation_switching,R.string.tip_rotation_switching_t}, {R.string.tip_update_index,R.string.tip_update_index_t}, {R.string.tip_day_night_mode,R.string.tip_day_night_mode_t}, @@ -28,8 +28,8 @@ public class TipsAndTricksActivity { {R.string.tip_select_destination_point,R.string.tip_select_destination_point_t}, {R.string.tip_navigation,R.string.tip_navigation_t}, {R.string.tip_app_mode,R.string.tip_app_mode_t}, + {R.string.tip_recent_changes,R.string.tip_recent_changes_0_8_1_t}, {R.string.tip_recent_changes,R.string.tip_recent_changes_0_8_0_t}, - {R.string.tip_recent_changes,R.string.tip_recent_changes_0_7_1_t}, {R.string.tip_map_switch,R.string.tip_map_switch_t}, }; diff --git a/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java b/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java index 4084cedeb6..298ea99e58 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java @@ -308,11 +308,11 @@ public class MapControlsLayer extends OsmandMapLayer { @Override public void onClick(View v) { if (view.isZooming()) { -// activity.changeZoom(view.getZoom() + 2 ); - activity.changeZoom(view.getFloatZoom() + 2 * OsmandMapTileView.ZOOM_DELTA_1 ); + activity.changeZoom(view.getZoom() + 2 ); +// activity.changeZoom(view.getFloatZoom() + 2 * OsmandMapTileView.ZOOM_DELTA_1 ); } else { -// activity.changeZoom(view.getZoom() + 1 ); - activity.changeZoom(view.getFloatZoom() + 1 * OsmandMapTileView.ZOOM_DELTA_1 ); + activity.changeZoom(view.getZoom() + 1 ); +// activity.changeZoom(view.getFloatZoom() + 1 * OsmandMapTileView.ZOOM_DELTA_1 ); } } @@ -321,8 +321,8 @@ public class MapControlsLayer extends OsmandMapLayer { zoomOutButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { -// activity.changeZoom(view.getZoom() - 1 ); - activity.changeZoom(view.getFloatZoom() - 1 * OsmandMapTileView.ZOOM_DELTA_1 ); + activity.changeZoom(view.getZoom() - 1 ); +// activity.changeZoom(view.getFloatZoom() - 1 * OsmandMapTileView.ZOOM_DELTA_1 ); } }); }