Skip to content

Commit

Permalink
Spacing property for normal pins
Browse files Browse the repository at this point in the history
  • Loading branch information
Denise-Ng committed Jan 12, 2021
1 parent 0d44872 commit 0377eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pins.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 0377eb6

Please sign in to comment.