We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b34fed9 commit d3d6d9eCopy full SHA for d3d6d9e
jme3-core/src/main/java/com/jme3/ui/Picture.java
@@ -113,7 +113,7 @@ public float getWidth() {
113
*/
114
public void setWidth(float width){
115
this.width = width;
116
- setLocalScale(new Vector3f(width, height, 1f));
+ setLocalScale(width, height, 1f);
117
}
118
119
/**
@@ -125,7 +125,7 @@ public void setWidth(float width){
125
126
public void setHeight(float height){
127
this.height = height;
128
129
130
131
0 commit comments