From 834ffb4091d688117fb71381df6c969f721b86cd Mon Sep 17 00:00:00 2001 From: Fabien Benetou Date: Tue, 21 Mar 2023 07:46:38 +0100 Subject: [PATCH] coherence in directions --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 09cacd4..e6e18c6 100644 --- a/index.html +++ b/index.html @@ -2382,8 +2382,8 @@ function emptyPinchToMove(){ // start be movable after .05 diam if (previousPosition){ diff = previousPosition.sub(event.detail.position).clone() - pushBackClass("hidableenvironment", diff.z*10) // consider something exponential instead - pushRightClass("hidableenvironment", diff.x*10) + pushBackClass("hidableenvironment", diff.z*10) // consider something exponential instead while maintaining sign + pushLeftClass("hidableenvironment", diff.x*10) // could rely on getArrayFromClass(classname) to then move on these 2 dimensions } }