Fix the resulting position when using a quick action.

Should fix #6508.
This commit is contained in:
François de Metz 2019-03-11 22:12:33 +01:00
parent e1392212db
commit 2ef320548e
No known key found for this signature in database
GPG key ID: 9C074CF691E2EEC7

View file

@ -420,8 +420,8 @@ public class MapQuickActionLayer extends OsmandMapLayer implements QuickActionRe
@Override @Override
public void onActionSelected(QuickAction action) { public void onActionSelected(QuickAction action) {
setLayerState(false);
QuickActionFactory.produceAction(action).execute(mapActivity); QuickActionFactory.produceAction(action).execute(mapActivity);
setLayerState(false);
} }
public PointF getMovableCenterPoint(RotatedTileBox tb) { public PointF getMovableCenterPoint(RotatedTileBox tb) {