Skip to content

Commit 727f1d7

Browse files
committed
Don't highlight model table with custom jedi skin (ui_selectedModelIndex -1)
1 parent 7a4f541 commit 727f1d7

File tree

1 file changed

+42
-1
lines changed

1 file changed

+42
-1
lines changed

assets/japro/ui/jamp/ingame_player.menu

+42-1
Original file line numberDiff line numberDiff line change
@@ -308,10 +308,15 @@
308308
bordercolor 1 .682 0 1
309309
forecolor 1 1 1 1
310310
descText @MENUS_CHOOSE_THE_MODEL_FOR
311+
cvarTest "ui_selectedModelIndex"
312+
hideCvar
313+
{
314+
"-1"
315+
}
311316
visible 1
312317
textscale 0.7
313318
action
314-
{
319+
{
315320
play "sound/interface/button1"
316321
}
317322
mouseenter
@@ -324,6 +329,42 @@
324329
}
325330
}
326331

332+
itemDef
333+
{
334+
name headlistinactive
335+
rect 20 62 404 194
336+
type ITEM_TYPE_LISTBOX
337+
style WINDOW_STYLE_FILLED
338+
elementwidth 48
339+
elementheight 48
340+
elementtype LISTBOX_IMAGE
341+
feeder FEEDER_Q3HEADS
342+
backcolor 0 0 0 1
343+
border 1
344+
bordercolor 0 0 0 0
345+
forecolor 1 1 1 1
346+
descText @MENUS_CHOOSE_THE_MODEL_FOR
347+
cvarTest "ui_selectedModelIndex"
348+
showCvar
349+
{
350+
"-1"
351+
}
352+
visible 1
353+
textscale 0.7
354+
action
355+
{
356+
play "sound/interface/button1"
357+
}
358+
mouseenter
359+
{
360+
setitemcolor headlist bordercolor 0 0 0 0
361+
}
362+
mouseexit
363+
{
364+
setitemcolor headlist bordercolor 0 0 0 0
365+
}
366+
}
367+
327368
//------------------------------------------------------------------------------------------------
328369
// Custom skin
329370
//------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)