tagtabs: show tab separators in tag tabs
This changes tag tabs to actually put the bank in search mode, still without providing any search input, so that the bank tab builder will draw tab separators (both the separator line and tab text label)
This commit is contained in:
@@ -10,16 +10,6 @@
|
||||
invoke 514
|
||||
iconst 1
|
||||
if_icmpeq LABEL8
|
||||
|
||||
iconst 1 ; return value - default to true to match anything
|
||||
iload 0 ; load item id
|
||||
sconst "" ; we are not searching, so there is no search string
|
||||
sconst "bankSearchFilter" ; push event name
|
||||
runelite_callback ; invoke callback
|
||||
pop_int ; pop item id
|
||||
pop_string ; pop search string
|
||||
return ; return rv
|
||||
|
||||
jump LABEL34
|
||||
LABEL8:
|
||||
get_varc_string 359 ; Skip truncating of varcstr 22 by not calling 280
|
||||
@@ -29,6 +19,15 @@ LABEL8:
|
||||
string_length
|
||||
iconst 0
|
||||
if_icmpgt LABEL15
|
||||
; this is a bank search with no input string. the bank tag plugin uses it to perform its tab searches.
|
||||
iconst 1 ; return value - default to true to match anything
|
||||
iload 0 ; load item id
|
||||
sconst "" ; we are not searching, so there is no search string
|
||||
sconst "bankSearchFilter" ; push event name
|
||||
runelite_callback ; invoke callback
|
||||
pop_int ; pop item id
|
||||
pop_string ; pop search string
|
||||
return ; return rv
|
||||
jump LABEL34
|
||||
LABEL15:
|
||||
iload 0
|
||||
|
||||
Reference in New Issue
Block a user