ronin/scripts/ronin.overlay.js
2016-11-14 10:35:38 -08:00

12 lines
235 B
JavaScript

function Overlay(element)
{
Module.call(this);
this.element = element;
this.resize = function(rect)
{
this.element.setAttribute('width',rect.width+"px");
this.element.setAttribute('height',rect.height+"px");
}
}