OSDN Git Service
(root)
/
pettanr
/
clientJs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Version 0.6.191, fix X.UI.ScrollBox & X.UI.Gesture.
[pettanr/clientJs.git]
/
0.6.x
/
js
/
20_ui
/
15_ScrollBox.js
diff --git
a/0.6.x/js/20_ui/15_ScrollBox.js
b/0.6.x/js/20_ui/15_ScrollBox.js
index
4948a7b
..
323b95b
100644
(file)
--- a/
0.6.x/js/20_ui/15_ScrollBox.js
+++ b/
0.6.x/js/20_ui/15_ScrollBox.js
@@
-316,8
+316,10
@@
function X_UI_ScrollBox_translate( that, x, y, opt_time, opt_easing, opt_release
);
\r
};
\r
\r
- that.scrollX = x;
\r
- that.scrollY = y;
\r
+ that.scrollX = x;
\r
+ that.scrollXEm = x / that.fontSize;
\r
+ that.scrollY = y;
\r
+ that.scrollYEm = y / that.fontSize;
\r
};
\r
\r
function X_UI_ScrollBox_onStart( e ){
\r