brilliantsole 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -937,7 +937,7 @@ class PressureSensorDataManager {
937
937
  pressure.scaledSum += scaledValue;
938
938
  pressure.normalizedSum += normalizedValue / this.numberOfSensors;
939
939
  }
940
- if (pressure.scaledSum > 0) {
940
+ if (pressure.scaledSum > 0.001) {
941
941
  pressure.center = { x: 0, y: 0 };
942
942
  pressure.sensors.forEach((sensor) => {
943
943
  sensor.weightedValue = sensor.scaledValue / pressure.scaledSum;