When overlays are hidden, keep them that way

Overlays previously had their display set to 'block' each time they were drawn.  Now if their display is 'none' their display property is left alone
This commit is contained in:
Rick Smith 2015-06-23 16:04:40 -06:00
parent cdf1942202
commit b1c6a75c49

View File

@ -282,7 +282,10 @@
style.left = position.x + "px";
style.top = position.y + "px";
style.position = "absolute";
if (style.display != 'none') {
style.display = 'block';
}
if ( scales ) {
style.width = size.x + "px";