Explorar o código

fix neuron x pos

Piotr Labudda %!s(int64=7) %!d(string=hai) anos
pai
achega
399a75e8e5
Modificáronse 1 ficheiros con 1 adicións e 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,