migrated project notes dialog

pull/95/head
jmoenig 2020-04-06 08:32:54 +02:00
rodzic 917b996c19
commit e5399a62c3
1 zmienionych plików z 1 dodań i 4 usunięć

Wyświetl plik

@ -4021,11 +4021,10 @@ IDE_Morph.prototype.editProjectNotes = function () {
frame.fontSize = InputFieldMorph.prototype.fontSize;
frame.typeInPadding = InputFieldMorph.prototype.typeInPadding;
frame.contrast = InputFieldMorph.prototype.contrast;
frame.drawNew = InputFieldMorph.prototype.drawNew;
frame.render = InputFieldMorph.prototype.render;
frame.drawRectBorder = InputFieldMorph.prototype.drawRectBorder;
frame.addContents(text);
text.drawNew();
dialog.getInput = function () {
return text.text;
@ -4044,11 +4043,9 @@ IDE_Morph.prototype.editProjectNotes = function () {
dialog.labelString = 'Project Notes';
dialog.createLabel();
dialog.addBody(frame);
frame.drawNew();
dialog.addButton('ok', 'OK');
dialog.addButton('cancel', 'Cancel');
dialog.fixLayout();
dialog.drawNew();
dialog.popUp(world);
dialog.setCenter(world.center());
text.edit();