@@ -112,6 +112,10 @@ function _GRCRT_Radar() {
112
112
// return dd_town_lists;
113
113
// }
114
114
115
+ this . getSpCs = function ( ) {
116
+ return sp_cs_lifetime ;
117
+ }
118
+
115
119
this . getThtmlPage = function ( ) {
116
120
return _ThtmlPage ;
117
121
}
@@ -1029,7 +1033,7 @@ if (RepConv.Debug) console.log("generateTime ___unitSpeed="+___unitSpeed+" vs _u
1029
1033
. on ( "sp:change:value" , function ( a , b , c ) {
1030
1034
hero_bonus = GameData . heroes [ hero_picker . getValue ( ) ] . description_args [ 1 ] . value + GameData . heroes [ hero_picker . getValue ( ) ] . description_args [ 1 ] . level_mod * b ,
1031
1035
setUnitSpeed ( )
1032
- } )
1036
+ } ) . css ( { 'width' : '75px' , 'text-align' : 'left' } )
1033
1037
: null ;
1034
1038
1035
1039
@@ -1082,7 +1086,7 @@ if (RepConv.Debug) console.log("generateTime ___unitSpeed="+___unitSpeed+" vs _u
1082
1086
. html ( RepConvTool . GetLabel ( 'RADAR.MAXUNITTIME' ) )
1083
1087
)
1084
1088
. append (
1085
- $ ( '<div/>' , { 'id' : 'grcrt_cs_time' , 'class' :'spinner' , 'style' :'width: 70px ; float: right; margin: 2px;' } )
1089
+ $ ( '<div/>' , { 'id' : 'grcrt_cs_time' , 'class' :'spinner' , 'style' :'width: 100px ; float: right; margin: 2px;' } )
1086
1090
)
1087
1091
)
1088
1092
. append (
@@ -1094,8 +1098,8 @@ if (RepConv.Debug) console.log("generateTime ___unitSpeed="+___unitSpeed+" vs _u
1094
1098
. append (
1095
1099
$ ( '<div/>' , {
1096
1100
'id' : 'grcrt_town_points' ,
1097
- 'class' :'spinner ' ,
1098
- 'style' :'width: 65px ; float: right; margin: 2px;'
1101
+ 'class' :'spinner_horizontal ' ,
1102
+ 'style' :'width: 100px ; float: right; margin: 2px;'
1099
1103
} )
1100
1104
)
1101
1105
)
@@ -1108,8 +1112,8 @@ if (RepConv.Debug) console.log("generateTime ___unitSpeed="+___unitSpeed+" vs _u
1108
1112
. append (
1109
1113
$ ( '<div/>' , {
1110
1114
'id' : 'grcrt_player_idle' ,
1111
- 'class' :'spinner ' ,
1112
- 'style' :'width: 40px ; float: right; margin: 2px;'
1115
+ 'class' :'spinner_horizontal ' ,
1116
+ 'style' :'width: 80px ; float: right; margin: 2px;'
1113
1117
} )
1114
1118
)
1115
1119
)
@@ -1123,14 +1127,14 @@ if (RepConv.Debug) console.log("generateTime ___unitSpeed="+___unitSpeed+" vs _u
1123
1127
$ ( '<div/>' , {
1124
1128
'id' : 'grcrt_town_lists' ,
1125
1129
'class' :'dropdown default' ,
1126
- 'style' :'width: 150px ; float: right; margin: 2px 2px 0px 2px;'
1130
+ 'style' :'width: 155px ; float: right; margin: 2px 2px 0px 2px;'
1127
1131
} )
1128
1132
)
1129
1133
)
1130
1134
. append (
1131
1135
$ ( '<div/>' , { 'class' :"runtime_info grcrt_modifiers" , 'style' :"float: left;" } )
1132
1136
. append (
1133
- $ ( '<div/>' , { 'class' :"modifiers_container" , 'style' :"max-width: 340px ;margin-top: 0px;margin-left: 0px;" } )
1137
+ $ ( '<div/>' , { 'class' :"modifiers_container" , 'style' :"max-width: 315px ;margin-top: 0px;margin-left: 0px;" } )
1134
1138
. append (
1135
1139
$ ( '<div/>' , { 'class' :"other_modifiers" } )
1136
1140
. append (
@@ -1261,6 +1265,9 @@ if (RepConv.Debug) console.log("generateTime ___unitSpeed="+___unitSpeed+" vs _u
1261
1265
. append (
1262
1266
'.grcrt_pagination {padding: 5px;height: 20px;}'
1263
1267
)
1268
+ . append (
1269
+ '#grcrt_cs_time>.body>input {text-align:center !important; left: 5px;}'
1270
+ )
1264
1271
)
1265
1272
$ ( '#tpl_grcrt_units_list' ) . remove ( )
1266
1273
$ ( '<script/>' , { 'type' :"text/template" , 'id' :"tpl_grcrt_units_list" } ) . text ( '' +
@@ -1358,20 +1365,20 @@ if (RepConv.Debug) console.log("generateTime ___unitSpeed="+___unitSpeed+" vs _u
1358
1365
$ ( '.grcrt_modifiers .modifier_icon.' + o ) . tooltip ( getTooltip ( o ) )
1359
1366
} )
1360
1367
1361
- sp_cs_lifetime = $ ( "#grcrt_cs_time" ) . spinner ( {
1362
- value : default_timeCS ,
1363
- step : "00:30:00" ,
1364
- max : "48:00:00" ,
1365
- min : "00:00 :00" ,
1366
- type : "time"
1367
- } ) ,
1368
- sp_town_points = $ ( "#grcrt_town_points" ) . spinner ( {
1368
+ sp_cs_lifetime = $ ( "#grcrt_cs_time" ) . spinnerHorizontal ( {
1369
+ value : default_timeCS ,
1370
+ step : "00:30:00" ,
1371
+ max : "48:00:00" ,
1372
+ min : "00:30 :00" ,
1373
+ type : "time"
1374
+ } ) ,
1375
+ sp_town_points = $ ( "#grcrt_town_points" ) . spinnerHorizontal ( {
1369
1376
value : default_points ,
1370
1377
step : 500 ,
1371
1378
max : 18000 ,
1372
1379
min : 0
1373
1380
} ) ,
1374
- sp_player_idle = $ ( "#grcrt_player_idle" ) . spinner ( {
1381
+ sp_player_idle = $ ( "#grcrt_player_idle" ) . spinnerHorizontal ( {
1375
1382
value : 0 ,
1376
1383
step : 1 ,
1377
1384
max : 999 ,
@@ -1511,7 +1518,15 @@ if (RepConv.Debug) console.log("generateTime ___unitSpeed="+___unitSpeed+" vs _u
1511
1518
activepagenr : 0 ,
1512
1519
minimizable : ! 0 ,
1513
1520
resizable : ! 1 ,
1514
- title : RepConv . grcrt_window_icon + RepConvTool . GetLabel ( 'RADAR.TOWNFINDER' )
1521
+ title : RepConv . grcrt_window_icon + RepConvTool . GetLabel ( 'RADAR.TOWNFINDER' ) ,
1522
+ special_buttons : {
1523
+ help : {
1524
+ action : {
1525
+ type : "external_link" ,
1526
+ url : RepConv . Scripts_url + 'module/grchowto#radar'
1527
+ }
1528
+ }
1529
+ }
1515
1530
} , b )
1516
1531
}
1517
1532
} ( )
0 commit comments