summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-05-26 09:40:55 +0200
committerjmoenig <jens@moenig.org>2014-05-26 09:40:55 +0200
commit8125861f8062727cc7a3abb2e3a140279a10b862 (patch)
tree25d398d3dffa88da6348ca107c86f52fe656302b
parent089d1500b41f00611603de936a65093d0dbb15ec (diff)
downloadsnap-8125861f8062727cc7a3abb2e3a140279a10b862.tar.gz
snap-8125861f8062727cc7a3abb2e3a140279a10b862.zip
Fixed #445 (minor search + zoom issues)
-rwxr-xr-xhistory.txt4
-rw-r--r--objects.js6
2 files changed, 6 insertions, 4 deletions
diff --git a/history.txt b/history.txt
index 126c11c..ecfdff4 100755
--- a/history.txt
+++ b/history.txt
@@ -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)
diff --git a/objects.js b/objects.js
index 66ceb97..5f91606 100644
--- a/objects.js
+++ b/objects.js
@@ -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))