whitespace logo - i know i should stop commiting changes like this - waiting for admin ui to do this

This commit is contained in:
root 2010-03-21 21:30:11 +01:00
parent e394e12c8c
commit 1e394ded75
2 changed files with 3 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -175,7 +175,7 @@ Node.prototype.draw = Node.prototype.normal.draw;
jQuery.extend(NorbertNode.prototype, Node.prototype); jQuery.extend(NorbertNode.prototype, Node.prototype);
function NorbertNode() { function NorbertNode() {
this.norbert = new Image(); this.norbert = new Image();
this.norbert.src = "img/norbert-8bit.png"; this.norbert.src = "img/whitespace-logo-square-transp-drop.png";
self = this; self = this;
this.norbertLoaded = false; this.norbertLoaded = false;
this.norbert.onload=function() { self.norbertLoaded = true; } this.norbert.onload=function() { self.norbertLoaded = true; }
@ -185,8 +185,8 @@ function NorbertNode() {
NorbertNode.prototype.draw = function() { NorbertNode.prototype.draw = function() {
var s = Math.abs(this.projection.z / (width / 2)); var s = Math.abs(this.projection.z / (width / 2));
s *= 2; s *= 2;
var x = Math.floor(this.projection.x - (186 / s)); var x = Math.floor(this.projection.x - (280 / s));
var y = Math.floor(this.projection.y - (50 / s)); var y = Math.floor(this.projection.y - (240 / s));
//var x = Math.floor(this.projection.x - (192 / s)); //var x = Math.floor(this.projection.x - (192 / s));
//var y = Math.floor(this.projection.y - (180 / s)); //var y = Math.floor(this.projection.y - (180 / s));
if (this.norbertLoaded) if (this.norbertLoaded)