Update MexUI

This commit is contained in:
Vortrex
2020-12-27 23:58:17 -06:00
parent 91bae100d2
commit 029ef82456
25 changed files with 117 additions and 117 deletions

View File

@@ -27,7 +27,7 @@ mexui.Control.ProgressBar.prototype.render = function()
mexui.native.drawRectangle(pos, this.size, this.getStyles('main'));
var innerBarSize = toVector2(this.size.x * this.progress, this.size.y);
var innerBarSize = new Vec2(this.size.x * this.progress, this.size.y);
mexui.native.drawRectangle(pos, innerBarSize, this.getStyles('innerBar'));
if(this.text != '')