• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisionaaf2728c83999ee3c15d58111ecd7d9eefed9fcf (tree)
Time2012-09-09 00:16:57
Authorh2so5 <h2so5@git....>
Commiterh2so5

Log Message

modellistを削除
ログイン、ログアウト時に下までスクロールしていなかった問題を修正

Change Summary

Incremental Difference

--- a/client/bin/cards/modellist/main.js
+++ /dev/null
@@ -1,39 +0,0 @@
1-
2-/***MetaData***
3-
4-{
5- "name": "モデルリスト",
6- "icon": "icon.png",
7- "api_version": 1
8-}
9-
10-***MetaData***/
11-
12-var list;
13-list = new UI.List({
14- docking: UI.DOCKING_TOP | UI.DOCKING_LEFT | UI.DOCKING_RIGHT | UI.DOCKING_BOTTOM
15-});
16-
17-var even_line = false;
18-var model_names = Model.all();
19-for (var i = 0; i < model_names.length; i++) {
20- if ((/char:/).test(model_names[i])) {
21- (function(model_name){
22- list.addItem(
23- new UI.Label({
24- docking: UI.DOCKING_TOP | UI.DOCKING_LEFT | UI.DOCKING_RIGHT,
25- text: model_name,
26- bgcolor: ((even_line = !even_line) ? "#EEAFEECC" : "#FFFFFFCC"),
27- onclick: function() {
28- Account.updateModelName(model_name)
29- }
30- })
31- );
32- })(model_names[i])
33- }
34-}
35-
36-Card.board.width = 240;
37-Card.board.height = 120;
38-Card.board.docking = UI.DOCKING_TOP | UI.DOCKING_RIGHT
39-Card.board.addChild(list);
\ No newline at end of file
--- a/client/bin/cards/textchat/main.js
+++ b/client/bin/cards/textchat/main.js
@@ -55,6 +55,7 @@ Player.onLogin = function(player) {
5555 width: 0
5656 })
5757 );
58+ list.scroll_y = 999999;
5859 }
5960
6061 Player.onLogout = function(player) {
@@ -66,6 +67,7 @@ Player.onLogout = function(player) {
6667 width: 0
6768 })
6869 );
70+ list.scroll_y = 999999;
6971 }
7072
7173 // チャットメッセージ送信