fix function binding problem that I thought worked...

pull/29/head
Michael Ball 2017-01-03 15:26:21 -08:00
rodzic 40234da3e8
commit dd914a37bb
1 zmienionych plików z 2 dodań i 1 usunięć

3
gui.js
Wyświetl plik

@ -6343,7 +6343,7 @@ LibraryImportDialogMorph.prototype.installLibrariesList = function () {
this.librariesData, this.librariesData,
function (element) {return element.name; }, function (element) {return element.name; },
null, null,
this.importLibrary function () {myself.importLibrary(); }
); );
this.fixListFieldItemColors(); this.fixListFieldItemColors();
@ -6445,6 +6445,7 @@ LibraryImportDialogMorph.prototype.fixLayout = function () {
this.listField.setPosition(this.body.position()); this.listField.setPosition(this.body.position());
this.palette.setPosition(this.listField.topRight().add( this.palette.setPosition(this.listField.topRight().add(
new Point(thin, 0) new Point(thin, 0)
)); ));
this.notesField.setPosition(this.pallete.bottomLeft().add( this.notesField.setPosition(this.pallete.bottomLeft().add(
new Point(0, thin) new Point(0, thin)