kopia lustrzana https://github.com/backface/turtlestitch
Fix typo and center palette loading message
rodzic
dd914a37bb
commit
e88211deb3
5
gui.js
5
gui.js
|
@ -6445,9 +6445,8 @@ 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.palette.bottomLeft().add(
|
||||||
new Point(0, thin)
|
new Point(0, thin)
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
@ -6550,8 +6549,8 @@ LibraryImportDialogMorph.prototype.displayBlocks = function (libraryKey) {
|
||||||
LibraryImportDialogMorph.prototype.showMessage = function (msgText) {
|
LibraryImportDialogMorph.prototype.showMessage = function (msgText) {
|
||||||
var msg = new MenuMorph(null, msgText);
|
var msg = new MenuMorph(null, msgText);
|
||||||
this.initializePalette();
|
this.initializePalette();
|
||||||
msg.popUpCenteredInWorld(this.palette);
|
|
||||||
this.fixLayout();
|
this.fixLayout();
|
||||||
|
msg.popUpCenteredInWorld(this.palette.contents);
|
||||||
};
|
};
|
||||||
|
|
||||||
// SpriteIconMorph ////////////////////////////////////////////////////
|
// SpriteIconMorph ////////////////////////////////////////////////////
|
||||||
|
|
Ładowanie…
Reference in New Issue