Lots of stuff
This commit is contained in:
2
third-party/mexui/Core/Control/Image.js
vendored
2
third-party/mexui/Core/Control/Image.js
vendored
@@ -16,5 +16,5 @@ mexui.Control.Image.prototype.render = function()
|
||||
mexui.native.drawImage(pos, this.size, this.image, this.getStyles('main'));
|
||||
|
||||
if(this.isFocused())
|
||||
mexui.native.drawRectangleBorder(mexui.util.subtractVec2(pos,new Vec2(2,2)), mexui.util.addVec2(this.size,new Vec2(3,3)), this.getStyles('focused'));
|
||||
mexui.native.drawRectangleBorder(mexui.util.subtractVec2(pos,toVector2(2,2)), mexui.util.addVec2(this.size,toVector2(3,3)), this.getStyles('focused'));
|
||||
};
|
||||
Reference in New Issue
Block a user