# 0.3.0
- Fix minor issues - Add Custom UV Support to Drawlist and Menu Image - Add DoubleClick to IO Input API - Add Flashbang Theme (Not completly done) - Fix Menu glitch when scrolling was possible when not allowed
This commit is contained in:
		| @@ -37,9 +37,10 @@ class Image : public Container { | ||||
|    * @param img Image Texture Reference | ||||
|    * @param size Custom Size of the Image | ||||
|    */ | ||||
|   Image(Texture::Ref img, vec2 size = 0.f) { | ||||
|   Image(Texture::Ref img, vec2 size = 0.f, LI::Rect uv = vec4(0.f)) { | ||||
|     this->img = img; | ||||
|     this->newsize = size; | ||||
|     this->cuv = uv; | ||||
|     if (size.x() != 0 || size.y() != 0) { | ||||
|       this->SetSize(size); | ||||
|     } else { | ||||
| @@ -57,6 +58,7 @@ class Image : public Container { | ||||
|  private: | ||||
|   Texture::Ref img;    ///< Texture reference to the Image | ||||
|   vec2 newsize = 0.f;  ///< New Size | ||||
|   LI::Rect cuv;        ///< Custom UV | ||||
| }; | ||||
| }  // namespace UI7 | ||||
| }  // namespace PD | ||||
		Reference in New Issue
	
	Block a user