Fixed #445 (minor search + zoom issues)

pull/3/merge
jmoenig 2014-05-26 09:40:55 +02:00
rodzic 089d1500b4
commit 8125861f80
2 zmienionych plików z 6 dodań i 4 usunięć

Wyświetl plik

@ -2133,3 +2133,7 @@ ______
* Threads: new Variable data structure, for refactoring upvar references, not yet used anywhere
* Objects, GUI: Search Blocks, feature. Thanks, Kyle, for architecting and designing this!!!
* Objects, GUI: Keyboard-shortcuts for opening (cmd-o), saving (cmd-s) projects and for finding blocks (cmd-f)
140526
------
* Objects: Fixed #445 (minor search + zoom issues)

Wyświetl plik

@ -124,7 +124,7 @@ PrototypeHatBlockMorph*/
// Global stuff ////////////////////////////////////////////////////////
modules.objects = '2014-May-20';
modules.objects = '2014-May-26';
var SpriteMorph;
var StageMorph;
@ -2348,13 +2348,11 @@ SpriteMorph.prototype.searchBlocks = function () {
}
searchPane.owner = this;
searchPane.padding = unit / 2;
searchPane.color = myself.paletteColor;
searchPane.contents.color = myself.paletteColor;
searchPane.growth = new Point(0, MorphicPreferences.scrollBarSize);
searchPane.addContents(searchBar);
searchBar.drawNew();
searchBar.setWidth(ide.logo.width() - 20);
searchBar.setWidth(ide.logo.width() - 30);
searchBar.contrast = 90;
searchBar.setPosition(
searchPane.contents.topLeft().add(new Point(10, 10))