Scrollview : change scrollbar calculation routine
authorJinhyuk Jun <jinhyuk.jun@samsung.com>
Sun, 30 Jun 2013 11:06:53 +0000 (20:06 +0900)
committerhc7.choi <hc7choi@hc7.choi>
Mon, 1 Jul 2013 06:00:51 +0000 (15:00 +0900)
Change-Id: I0eed2981fff2c11470564e12edbc752b16f62dbe

src/js/jquery.mobile.tizen.scrollview.js

index f9a47b1..04e0117 100644 (file)
@@ -582,7 +582,7 @@ define( [ ], function ( ) {
                                                /* update scrollbar every 20(clientY) move*/
                                                /* Add Interval */
                                                this._setElementTransform( $sbt, "0px",
-                                                       -y / this._view_height * this._clipHeight + "px",
+                                                       -y / this._getViewHeight() * this._clipHeight + "px",
                                                        duration );
                                        }
                                } else {