mirror of
https://github.com/esphome/esphome.git
synced 2025-11-19 16:25:50 +00:00
added prev_frame for animation (#3427)
This commit is contained in:
@@ -478,6 +478,7 @@ class Animation : public Image {
|
||||
int get_animation_frame_count() const;
|
||||
int get_current_frame() const;
|
||||
void next_frame();
|
||||
void prev_frame();
|
||||
|
||||
protected:
|
||||
int current_frame_;
|
||||
|
||||
Reference in New Issue
Block a user