Update: CC - SpoonLib - Key Up (hdy358a43e.js) 541 bytes modified
parent
432a8dcdd6
commit
fa91ed8fb0
|
@ -1,2 +1,28 @@
|
|||
return null;
|
||||
//@ sourceURL=CustomCode (hdy358a43e).js
|
||||
if (!this.entityLoaded) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this.initialized) {
|
||||
|
||||
this.textCanvas = this.entityLoaded.textCanvas;
|
||||
this.textTexture = this.entityLoaded.textTexture;
|
||||
|
||||
this.initialized = true;
|
||||
}
|
||||
|
||||
var context = this.textCanvas.instance.getContext('2d');
|
||||
|
||||
context.textBaseline = "middle";
|
||||
|
||||
context.clearRect(0, 0, this.textCanvas.width, this.textCanvas.height);
|
||||
|
||||
/**
|
||||
* Write text
|
||||
*/
|
||||
context.fillStyle = '#3db5e6';
|
||||
context.font = '20pt BkBold';
|
||||
context.fillText('NEXT TILES', 23, 52);
|
||||
|
||||
this.textTexture.instance.needsUpdate = true;
|
||||
|
||||
//@ sourceURL=CustomCodeSpoonLibKeyUp.js
|
Loading…
Reference in New Issue