Merge pull request #122 from rdts/patch-1

Update Sprite.cpp
This commit is contained in:
Bodmer
2018-04-12 01:56:15 +01:00
committed by GitHub

View File

@@ -49,8 +49,8 @@ void* TFT_eSprite::createSprite(int16_t w, int16_t h, uint8_t frames)
if ( w < 1 || h < 1 ) return NULL;
_iwidth = _dwidth = w;
_iheight = _dheight = h;
this->_width = _iwidth = _dwidth = w;
this->_height = _iheight = _dheight = h;
this->cursor_x = 0;
this->cursor_y = 0;