From e5399a62c39e033c260faa377a588e8edc743aca Mon Sep 17 00:00:00 2001 From: jmoenig Date: Mon, 6 Apr 2020 08:32:54 +0200 Subject: [PATCH] migrated project notes dialog --- src/gui.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gui.js b/src/gui.js index 03885818..b9323687 100644 --- a/src/gui.js +++ b/src/gui.js @@ -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();