11-18-2014, 04:12 PM
A round ended and I noticed a bunch of text go by afterwards
Then a bunch of whitespace before the new round stuff. I dunno if this is important but it looks important.
Code:
var defaultSkin = (function(){
var panesShown = {};
var npanes = 0;
return {
show: function(id) {
if(panesShown[id]) return;
panesShown[id] = true;
byond('rbutton_'+id).winset({'isVisible':true,'isChecked':true});
++npanes;
byond('rside').winset({left:'rbuttons'});
byond('rpane').winset({left:id});
},
hide: function(id) {
if(!panesShown[id]) return;
delete panesShown[id];
var button = byond('rbutton_'+id);
button.winset({'isVisible':false});
if(''+button.winget('isChecked') ==' true') byond('rbutton_text').winset({isChecked:true});
var rpane = byond('rpane');
if(rpane.winget('left') == id) rpane.winset({left:''});
if(!--npanes) byond('rside').winset({left:''});
}
};
})();
Then a bunch of whitespace before the new round stuff. I dunno if this is important but it looks important.