kopia lustrzana https://github.com/backface/turtlestitch
change logo conditional to type of design..
rodzic
65460e49c7
commit
02b34eed69
|
@ -1,5 +1,6 @@
|
|||
|
||||
IDE_Morph.prototype.setDefaultDesign();
|
||||
// Stitchode's main changes and addtions to snap! go in here
|
||||
// sorry it lacks proper documentation
|
||||
|
||||
function debug_msg(st,clear) {
|
||||
o = new String();
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
|
||||
|
||||
// this file includes changes just to deactivate/hide some
|
||||
// this file includes changes just things to deactivate/hide some
|
||||
// stuff and functions we don't need.
|
||||
|
||||
|
||||
|
||||
IDE_Morph.prototype.buildPanes = function () {
|
||||
this.createLogo();
|
||||
this.createControlBar();
|
||||
|
@ -28,8 +25,11 @@ IDE_Morph.prototype.createLogo = function () {
|
|||
}
|
||||
|
||||
this.logo = new Morph();
|
||||
//this.logo.texture = 'snap_logo_sm.png';
|
||||
if (MorphicPreferences.isFlat) {
|
||||
this.logo.texture = 'stitchcode/stitchcode_logo_small.png';
|
||||
} else {
|
||||
this.logo.texture = 'stitchcode/stitchcode_logo_small_black.png';
|
||||
}
|
||||
this.logo.drawNew = function () {
|
||||
this.image = newCanvas(this.extent());
|
||||
var context = this.image.getContext('2d'),
|
||||
|
|
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 1.5 KiB |
Ładowanie…
Reference in New Issue