Skip to content

Commit 7d2fe24

Browse files
committed
fix(radar): fix broken search
1 parent 419be7b commit 7d2fe24

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
lines changed

common/RepConvAdds.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ function _RepConvAdds() {
168168
$('#ui_box')
169169
.append(
170170
$('<img/>', {
171-
'src':RepConv.grcrt_cdn+'/img/rip-64w.png',
171+
'src':RepConv.grcrt_cdn+'img/octopus.png',
172172
'id': 'grcgrc',
173-
'style':'position:absolute;bottom:0px;left:0px;z-index:1000'})
173+
'style':'position:absolute;bottom:10px;left:10px;z-index:1000'})
174174
);
175175
// this.addPlayerLedger();
176176
}

modules/GRCRT_Radar.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,11 @@ if (RepConv.Debug) console.log("generateTime ___unitSpeed="+___unitSpeed+" vs _u
893893
)
894894
})
895895
$.each(getAdds().split(" "), function(i,o){
896-
$('#grcrt_radar_result ul .grcrt_'+o+':not(.grcrt_done)').tooltip(getTooltip(o)).addClass('grcrt_done')
896+
try{
897+
$('#grcrt_radar_result ul .grcrt_'+o+':not(.grcrt_done)').tooltip(getTooltip(o)).addClass('grcrt_done')
898+
} catch(e){
899+
console.log(e)
900+
}
897901
})
898902
$.each($(".grcrt_rr_cs_time .arrival_time:not(.grcrt_done)"), function(i,elem){
899903
$(elem).text($(elem).data('sec')+"").updateTime().addClass('grcrt_done')
@@ -1362,7 +1366,11 @@ if (RepConv.Debug) console.log("generateTime ___unitSpeed="+___unitSpeed+" vs _u
13621366
setUnitSpeed()
13631367
})
13641368
$.each(getAdds().split(" "), function(i,o){
1365-
$('.grcrt_modifiers .modifier_icon.'+o).tooltip(getTooltip(o))
1369+
try{
1370+
$('.grcrt_modifiers .modifier_icon.'+o).tooltip(getTooltip(o))
1371+
} catch(e){
1372+
console.log(e)
1373+
}
13661374
})
13671375

13681376
sp_cs_lifetime = $("#grcrt_cs_time").spinnerHorizontal({

modules/RepConvGRC.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3533,7 +3533,7 @@ function _RepConvGRC() {
35333533
$('<img/>', {
35343534
'src':RepConv.grcrt_cdn+'img/mute.png',
35353535
'id' : 'grcrtSound',
3536-
'style': 'position:absolute; bottom: 85px; left: 15px;z-index: 1002;'
3536+
'style': 'position:absolute; bottom: 45px; left: 15px;z-index: 1002;'
35373537
})
35383538
.mousePopup(new MousePopup(RepConvTool.GetLabel('POPDISABLEALARM')))
35393539
.click(function() {
@@ -3661,12 +3661,12 @@ function _RepConvGRC() {
36613661
// activity_commands_list();
36623662
construction_queue_chg();
36633663
addAttackObserver();
3664-
$('#grcgrc')
3665-
.css("cursor","pointer")
3666-
.mousePopup(new MousePopup("That's the end of GRCRTools"))
3667-
.click(function(){
3668-
RepConvGRC.openGRCRT('HELPTAB1');
3669-
})
3664+
// $('#grcgrc')
3665+
// .css("cursor","pointer")
3666+
// .mousePopup(new MousePopup("That's the end of GRCRTools or..."))
3667+
// .click(function(){
3668+
// RepConvGRC.openGRCRT('HELPTAB1');
3669+
// })
36703670
}
36713671
// -- okienka
36723672
function _grcrtWindowStats(){

0 commit comments

Comments
 (0)