react-ticker
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -529,2 +529,3 @@ import React from 'react'; | ||
}, _this.onResize = function () { | ||
if (_this.tickerRef.current.offsetWidth === _this.state.width) return; | ||
_this.setState(_extends({}, getDefaultState(_this.props.offset, _this.tickerRef.current.offsetWidth), { | ||
@@ -531,0 +532,0 @@ height: _this.props.height |
@@ -533,2 +533,3 @@ 'use strict'; | ||
}, _this.onResize = function () { | ||
if (_this.tickerRef.current.offsetWidth === _this.state.width) return; | ||
_this.setState(_extends({}, getDefaultState(_this.props.offset, _this.tickerRef.current.offsetWidth), { | ||
@@ -535,0 +536,0 @@ height: _this.props.height |
{ | ||
"name": "react-ticker", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "React Ticker is a lightweight, performant React component, that moves text, images and videos infinitely like a newsticker.", | ||
@@ -5,0 +5,0 @@ "author": "https://github.com/AndreasFaust", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
98153
1128