Change spaces to tabs
This commit is contained in:
parent
fc91c5582f
commit
819e24b551
1 changed files with 10 additions and 10 deletions
|
@ -201,11 +201,11 @@ public class MapQuickActionLayer extends OsmandMapLayer implements QuickActionRe
|
|||
return quickActionsWidget.getVisibility() == View.VISIBLE;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param showWidget
|
||||
* @return true, if state was changed
|
||||
*/
|
||||
public boolean setLayerState(boolean showWidget) {
|
||||
/**
|
||||
* @param showWidget
|
||||
* @return true, if state was changed
|
||||
*/
|
||||
public boolean setLayerState(boolean showWidget) {
|
||||
prevWidgetState = showWidget;
|
||||
if (isWidgetVisible() == showWidget) // check if state change is needed
|
||||
return false;
|
||||
|
@ -229,8 +229,8 @@ public class MapQuickActionLayer extends OsmandMapLayer implements QuickActionRe
|
|||
quickActionsWidget.setSelectionListener(MapQuickActionLayer.this);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private void animateWidget(final boolean show) {
|
||||
AnimatorSet set = new AnimatorSet();
|
||||
|
@ -373,8 +373,8 @@ public class MapQuickActionLayer extends OsmandMapLayer implements QuickActionRe
|
|||
return py <= quickActionsWidget.getHeight();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDraw(Canvas canvas, RotatedTileBox box, DrawSettings settings) {
|
||||
@Override
|
||||
public void onDraw(Canvas canvas, RotatedTileBox box, DrawSettings settings) {
|
||||
boolean nightMode = app.getDaynightHelper().isNightModeForMapControls();
|
||||
if (isInMovingMarkerMode()) {
|
||||
canvas.translate(box.getCenterPixelX() - contextMarker.getWidth() / 2, box.getCenterPixelY() - contextMarker.getHeight());
|
||||
|
@ -385,7 +385,7 @@ public class MapQuickActionLayer extends OsmandMapLayer implements QuickActionRe
|
|||
updateQuickActionButton(prevWidgetState);
|
||||
}
|
||||
setupQuickActionBtnVisibility();
|
||||
}
|
||||
}
|
||||
|
||||
private void setupQuickActionBtnVisibility() {
|
||||
MapContextMenu contextMenu = mapActivity.getContextMenu();
|
||||
|
|
Loading…
Reference in a new issue