From 3d2af20edd18baeb06086dd7d44efb37306cf1cd Mon Sep 17 00:00:00 2001 From: tobspr Date: Fri, 15 May 2020 11:15:42 +0200 Subject: [PATCH] Swap cutter outputs since this makes more sense logically --- src/js/game/shape_definition_manager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/game/shape_definition_manager.js b/src/js/game/shape_definition_manager.js index d2647c3f..a1bb549f 100644 --- a/src/js/game/shape_definition_manager.js +++ b/src/js/game/shape_definition_manager.js @@ -60,8 +60,8 @@ export class ShapeDefinitionManager extends BasicSerializableObject { if (this.operationCache[key]) { return /** @type {[ShapeDefinition, ShapeDefinition]} */ (this.operationCache[key]); } - const rightSide = definition.cloneFilteredByQuadrants([0, 1]); - const leftSide = definition.cloneFilteredByQuadrants([2, 3]); + const rightSide = definition.cloneFilteredByQuadrants([2, 3]); + const leftSide = definition.cloneFilteredByQuadrants([0, 1]); return /** @type {[ShapeDefinition, ShapeDefinition]} */ (this.operationCache[key] = [ this.registerOrReturnHandle(rightSide),