# 0.2.6-1
- Fix TTF FOnt loader to support any size between 8 and 64 - Fix UI7 Image Custom SIze support - Add new Syste mfor Image buffer modification to image lib
This commit is contained in:
		| @@ -43,6 +43,7 @@ class Image : public Container { | ||||
|     this->screen = lr->CurrentScreen(); | ||||
|     this->img = img; | ||||
|     this->SetPos(pos); | ||||
|     this->newsize = size; | ||||
|     if (size.x() != 0 || size.y() != 0) { | ||||
|       this->SetSize(size); | ||||
|     } else { | ||||
| @@ -58,7 +59,8 @@ class Image : public Container { | ||||
|   void Draw() override; | ||||
|  | ||||
|  private: | ||||
|   Texture::Ref img;  ///< Texture reference to the Image | ||||
|   Texture::Ref img;    ///< Texture reference to the Image | ||||
|   vec2 newsize = 0.f;  ///< New Size | ||||
| }; | ||||
| }  // namespace UI7 | ||||
| }  // namespace PD | ||||
		Reference in New Issue
	
	Block a user