react-split-panel
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -282,4 +282,4 @@ "use strict"; | ||
value: function updateSizes(weights) { | ||
weights = weights || this.weights; | ||
weights = this.padOrTruncateWeights(weights); | ||
weights = weights || this.weights; | ||
var totalWeight = _lodash2.default.sum(weights); | ||
@@ -286,0 +286,0 @@ // Total space taken by the dividers spread equally across all panels. |
{ | ||
"name": "react-split-panel", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A split panel component for React.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/SplitPanel.js", |
@@ -337,4 +337,4 @@ import React from "react"; | ||
updateSizes(weights) { | ||
weights = weights || this.weights; | ||
weights = this.padOrTruncateWeights(weights); | ||
weights = weights || this.weights; | ||
const totalWeight = _.sum(weights); | ||
@@ -341,0 +341,0 @@ // Total space taken by the dividers spread equally across all panels. |