From 0377eb6a703e57dd4cce551237eaf8f03f7a3f48 Mon Sep 17 00:00:00 2001 From: Denise-Ng Date: Tue, 12 Jan 2021 16:49:28 +0800 Subject: [PATCH] Spacing property for normal pins --- Pins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pins.js b/Pins.js index 6f83de5..9a82f0d 100644 --- a/Pins.js +++ b/Pins.js @@ -137,7 +137,7 @@ class Pins extends Component { for (let p = 0; p < numberOfPins; p++) { const prevSize = prevPinSizes[p]; const currentSize = currentPinSizes[p]; - const currentSizeIsMoreThanZero = currentSize > 0; + const currentSizeIsMoreThanZero = hasMaxNumberOfPins ? currentSize > 0 : true; const size = hasMaxNumberOfPins ? animatedPinValue.interpolate({