Explorar el Código

fix neuron x pos

Piotr Labudda hace 7 años
padre
commit
399a75e8e5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      SE/se-lib/Route/Test/Neuron.php.view.js

+ 1 - 1
SE/se-lib/Route/Test/Neuron.php.view.js

@@ -117,7 +117,7 @@ var p5UI__TestNeuron = createReactClass({
 				{
 					value: value,
 					charge: charge,
-					x: x = (receptor.x + prevReceptor.x) / 2,
+					x: (receptor.x + prevReceptor.x) / 2,
 					y: 20 + 20 * value.length,
 					rx: 10 * value.length,
 					ry: 10,