kopia lustrzana https://github.com/backface/turtlestitch
migrated about snap dialog
rodzic
b937c22729
commit
a2a5db321b
16
src/gui.js
16
src/gui.js
|
@ -3861,7 +3861,7 @@ IDE_Morph.prototype.aboutSnap = function () {
|
||||||
translatorsBtn = dlg.addButton(
|
translatorsBtn = dlg.addButton(
|
||||||
function () {
|
function () {
|
||||||
dlg.body.text = translations;
|
dlg.body.text = translations;
|
||||||
dlg.body.drawNew();
|
dlg.body.fixLayout();
|
||||||
btn1.show();
|
btn1.show();
|
||||||
btn2.show();
|
btn2.show();
|
||||||
btn3.hide();
|
btn3.hide();
|
||||||
|
@ -3869,7 +3869,6 @@ IDE_Morph.prototype.aboutSnap = function () {
|
||||||
licenseBtn.hide();
|
licenseBtn.hide();
|
||||||
translatorsBtn.hide();
|
translatorsBtn.hide();
|
||||||
dlg.fixLayout();
|
dlg.fixLayout();
|
||||||
dlg.drawNew();
|
|
||||||
dlg.setCenter(world.center());
|
dlg.setCenter(world.center());
|
||||||
},
|
},
|
||||||
'Translators...'
|
'Translators...'
|
||||||
|
@ -3877,7 +3876,7 @@ IDE_Morph.prototype.aboutSnap = function () {
|
||||||
btn2 = dlg.addButton(
|
btn2 = dlg.addButton(
|
||||||
function () {
|
function () {
|
||||||
dlg.body.text = aboutTxt;
|
dlg.body.text = aboutTxt;
|
||||||
dlg.body.drawNew();
|
dlg.body.fixLayout();
|
||||||
btn1.show();
|
btn1.show();
|
||||||
btn2.hide();
|
btn2.hide();
|
||||||
btn3.show();
|
btn3.show();
|
||||||
|
@ -3885,7 +3884,6 @@ IDE_Morph.prototype.aboutSnap = function () {
|
||||||
licenseBtn.show();
|
licenseBtn.show();
|
||||||
translatorsBtn.hide();
|
translatorsBtn.hide();
|
||||||
dlg.fixLayout();
|
dlg.fixLayout();
|
||||||
dlg.drawNew();
|
|
||||||
dlg.setCenter(world.center());
|
dlg.setCenter(world.center());
|
||||||
},
|
},
|
||||||
'Back...'
|
'Back...'
|
||||||
|
@ -3894,7 +3892,7 @@ IDE_Morph.prototype.aboutSnap = function () {
|
||||||
licenseBtn = dlg.addButton(
|
licenseBtn = dlg.addButton(
|
||||||
function () {
|
function () {
|
||||||
dlg.body.text = noticeTxt;
|
dlg.body.text = noticeTxt;
|
||||||
dlg.body.drawNew();
|
dlg.body.fixLayout();
|
||||||
btn1.show();
|
btn1.show();
|
||||||
btn2.show();
|
btn2.show();
|
||||||
btn3.hide();
|
btn3.hide();
|
||||||
|
@ -3902,7 +3900,6 @@ IDE_Morph.prototype.aboutSnap = function () {
|
||||||
licenseBtn.hide();
|
licenseBtn.hide();
|
||||||
translatorsBtn.hide();
|
translatorsBtn.hide();
|
||||||
dlg.fixLayout();
|
dlg.fixLayout();
|
||||||
dlg.drawNew();
|
|
||||||
dlg.setCenter(world.center());
|
dlg.setCenter(world.center());
|
||||||
},
|
},
|
||||||
'License...'
|
'License...'
|
||||||
|
@ -3910,7 +3907,7 @@ IDE_Morph.prototype.aboutSnap = function () {
|
||||||
btn3 = dlg.addButton(
|
btn3 = dlg.addButton(
|
||||||
function () {
|
function () {
|
||||||
dlg.body.text = versions;
|
dlg.body.text = versions;
|
||||||
dlg.body.drawNew();
|
dlg.body.fixLayout();
|
||||||
btn1.show();
|
btn1.show();
|
||||||
btn2.show();
|
btn2.show();
|
||||||
btn3.hide();
|
btn3.hide();
|
||||||
|
@ -3918,7 +3915,6 @@ IDE_Morph.prototype.aboutSnap = function () {
|
||||||
licenseBtn.hide();
|
licenseBtn.hide();
|
||||||
translatorsBtn.hide();
|
translatorsBtn.hide();
|
||||||
dlg.fixLayout();
|
dlg.fixLayout();
|
||||||
dlg.drawNew();
|
|
||||||
dlg.setCenter(world.center());
|
dlg.setCenter(world.center());
|
||||||
},
|
},
|
||||||
'Modules...'
|
'Modules...'
|
||||||
|
@ -3926,7 +3922,7 @@ IDE_Morph.prototype.aboutSnap = function () {
|
||||||
btn4 = dlg.addButton(
|
btn4 = dlg.addButton(
|
||||||
function () {
|
function () {
|
||||||
dlg.body.text = creditsTxt;
|
dlg.body.text = creditsTxt;
|
||||||
dlg.body.drawNew();
|
dlg.body.fixLayout();
|
||||||
btn1.show();
|
btn1.show();
|
||||||
btn2.show();
|
btn2.show();
|
||||||
translatorsBtn.show();
|
translatorsBtn.show();
|
||||||
|
@ -3934,14 +3930,12 @@ IDE_Morph.prototype.aboutSnap = function () {
|
||||||
btn4.hide();
|
btn4.hide();
|
||||||
licenseBtn.hide();
|
licenseBtn.hide();
|
||||||
dlg.fixLayout();
|
dlg.fixLayout();
|
||||||
dlg.drawNew();
|
|
||||||
dlg.setCenter(world.center());
|
dlg.setCenter(world.center());
|
||||||
},
|
},
|
||||||
'Credits...'
|
'Credits...'
|
||||||
);
|
);
|
||||||
translatorsBtn.hide();
|
translatorsBtn.hide();
|
||||||
dlg.fixLayout();
|
dlg.fixLayout();
|
||||||
dlg.drawNew();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
IDE_Morph.prototype.editProjectNotes = function () {
|
IDE_Morph.prototype.editProjectNotes = function () {
|
||||||
|
|
Ładowanie…
Reference in New Issue