Browse Source

fix neuron x pos

Piotr Labudda 7 years ago
parent
commit
399a75e8e5
1 changed files with 1 additions and 1 deletions
  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,
 					value: value,
 					charge: charge,
 					charge: charge,
-					x: x = (receptor.x + prevReceptor.x) / 2,
+					x: (receptor.x + prevReceptor.x) / 2,
 					y: 20 + 20 * value.length,
 					y: 20 + 20 * value.length,
 					rx: 10 * value.length,
 					rx: 10 * value.length,
 					ry: 10,
 					ry: 10,