mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 14:38:05 +02:00
Remove unused projection parameter
This commit is contained in:
@@ -3,7 +3,7 @@ import _ from 'lodash';
|
||||
Only operates on "area" ways
|
||||
*/
|
||||
|
||||
export function actionFlip(wayId, isVertical, projection) {
|
||||
export function actionFlip(wayId, isVertical) {
|
||||
|
||||
return function (graph) {
|
||||
const targetWay = graph.entity(wayId);
|
||||
|
||||
@@ -7,7 +7,7 @@ export function operationFlipHorizontal(selectedIDs, context) {
|
||||
|
||||
var operation = function() {
|
||||
context.perform(
|
||||
actionFlip(entityId, false, context.projection),
|
||||
actionFlip(entityId, false),
|
||||
t('operations.flipHorizontal.annotation')
|
||||
);
|
||||
};
|
||||
|
||||
@@ -7,7 +7,7 @@ export function operationFlipVertical(selectedIDs, context) {
|
||||
|
||||
var operation = function() {
|
||||
context.perform(
|
||||
actionFlip(entityId, true, context.projection),
|
||||
actionFlip(entityId, true),
|
||||
t('operations.flipVertical.annotation')
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user