aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-21 14:09:29 -0700
committerArmen Kesablyan2012-06-21 14:09:29 -0700
commit9ba766f77c56619cd977fce59cf1a000cbb9ecc8 (patch)
tree4bd7e932d4d37a9d8bc775ec73be2b2306f9762e
parent8abe69f8d179a3edd2498119ae2947d283c1b758 (diff)
downloadninja-9ba766f77c56619cd977fce59cf1a000cbb9ecc8.tar.gz
Binding View: Hud Scroll Limit Is now 8
Signed-off-by: Armen Kesablyan <armen@motorola.com>
-rwxr-xr-xjs/stage/binding-view.reel/binding-hud.reel/binding-hud.css1
-rwxr-xr-xjs/stage/binding-view.reel/binding-hud.reel/binding-hud.js3
2 files changed, 2 insertions, 2 deletions
diff --git a/js/stage/binding-view.reel/binding-hud.reel/binding-hud.css b/js/stage/binding-view.reel/binding-hud.reel/binding-hud.css
index 3cc4bb0a..0f31a073 100755
--- a/js/stage/binding-view.reel/binding-hud.reel/binding-hud.css
+++ b/js/stage/binding-view.reel/binding-hud.reel/binding-hud.css
@@ -80,6 +80,5 @@
80} 80}
81 81
82.hudRepetition { 82.hudRepetition {
83 max-height:54px;
84 overflow: hidden; 83 overflow: hidden;
85} \ No newline at end of file 84} \ No newline at end of file
diff --git a/js/stage/binding-view.reel/binding-hud.reel/binding-hud.js b/js/stage/binding-view.reel/binding-hud.reel/binding-hud.js
index 52bc7236..9918b06d 100755
--- a/js/stage/binding-view.reel/binding-hud.reel/binding-hud.js
+++ b/js/stage/binding-view.reel/binding-hud.reel/binding-hud.js
@@ -25,7 +25,7 @@ exports.BindingHud = Montage.create(Component, {
25 value: null 25 value: null
26 }, 26 },
27 scrollSpace: { 27 scrollSpace: {
28 value: 3 28 value: 8
29 }, 29 },
30 currentScrollDirection: { 30 currentScrollDirection: {
31 value: null 31 value: null
@@ -198,6 +198,7 @@ exports.BindingHud = Montage.create(Component, {
198 this.scrollDown.addEventListener("mouseover", this); 198 this.scrollDown.addEventListener("mouseover", this);
199 this.scrollUp.addEventListener("mouseout", this); 199 this.scrollUp.addEventListener("mouseout", this);
200 this.scrollDown.addEventListener("mouseout", this); 200 this.scrollDown.addEventListener("mouseout", this);
201 this.optionsRepeater.element.style.maxHeight = (this.scrollSpace * 18) + "px"
201 this.scrollUp.style.display = "block"; 202 this.scrollUp.style.display = "block";
202 this.scrollDown.style.display = "block"; 203 this.scrollDown.style.display = "block";
203 } 204 }