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

@@ -29,7 +29,7 @@ mexui.Entity.Component.prototype.onMouseMove = function(e, offset)
{
if(this.moving)
{
this.position = toVector2(this.position.x + offset.x, this.position.y + offset.y);
this.position = new Vec2(this.position.x + offset.x, this.position.y + offset.y);
e.used = true;
}
};