tagtabs: split tag search from bank search
This fixes a lot of edge cases which required us to re-search for things after input was re-used when a tag tab was open, and removes the requirement of having the bank search text be in sync with the currently selected tab. This also no longer parses the tag tab out of the title during times when the input is being re-used (like Withdraw-x) which was broken earlier from the bank plugin changing the title to include the value of searches. A new tag tab title is being set now on all tag tab views so the old tag tab tab title event can be removed.
This commit is contained in:
@@ -10,9 +10,6 @@
|
||||
; callback "setBankScroll"
|
||||
; Fired before bank is calculated
|
||||
; Used by the TabInterface to show fake bank items for tag tabs
|
||||
;
|
||||
; callback "isTabMenuActive"
|
||||
; Used by the TabInterface to skip setting the bank title
|
||||
sconst "beforeBankLayout"
|
||||
runelite_callback
|
||||
get_varbit 5102
|
||||
@@ -966,12 +963,6 @@ LABEL848:
|
||||
add
|
||||
istore 20
|
||||
jump LABEL769
|
||||
SetTitle:
|
||||
iconst 0 ; Compare variable
|
||||
iconst 0 ;
|
||||
sconst "isTabMenuActive"
|
||||
runelite_callback ; skip setting the bank title if the tag tab menu is active
|
||||
if_icmpne FinishBuilding
|
||||
LABEL853:
|
||||
get_varbit 4170
|
||||
iconst 2
|
||||
|
||||
Reference in New Issue
Block a user