mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-06 14:14:44 +02:00
@@ -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;
|
||||
|
Reference in New Issue
Block a user