From 9ba766f77c56619cd977fce59cf1a000cbb9ecc8 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Thu, 21 Jun 2012 14:09:29 -0700 Subject: Binding View: Hud Scroll Limit Is now 8 Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-hud.reel/binding-hud.css | 1 - js/stage/binding-view.reel/binding-hud.reel/binding-hud.js | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'js/stage') 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 @@ } .hudRepetition { - max-height:54px; overflow: hidden; } \ 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, { value: null }, scrollSpace: { - value: 3 + value: 8 }, currentScrollDirection: { value: null @@ -198,6 +198,7 @@ exports.BindingHud = Montage.create(Component, { this.scrollDown.addEventListener("mouseover", this); this.scrollUp.addEventListener("mouseout", this); this.scrollDown.addEventListener("mouseout", this); + this.optionsRepeater.element.style.maxHeight = (this.scrollSpace * 18) + "px" this.scrollUp.style.display = "block"; this.scrollDown.style.display = "block"; } -- cgit v1.2.3