arcanosa84 wrote: ↑September 15th, 2023, 2:10 pm
Even after adding it, it still doesn't work, the active skin check does not update when I change pages
The answer is in the manual,
on the IfCondition page (that will add an extra redraw at each update of the skin, but it will work). The issue was that due to how IfCondition works by default, even though the individual MeasureActive1 and Pagina tests changed in the condition, the aggregate (overall) test in the condition did not change to TRUE before becoming FALSE again in order to trigger the execution of the bangs, in some navigation cases. So, for example, if you take a look at
these logical operations table:
- when Ajustes initially loads, if the Luna skin is unloaded and Pagina is 1:
(MeasureActive1 = 1) && (#Pagina# = 2) = FALSE && FALSE = FALSE = IfFalseAction runs, because of the initial skin update that updates the measure
- when navigating to page 2, if the Luna skin is unloaded and Pagina becomes 2:
(MeasureActive1 = 1) && (#Pagina# = 2) = FALSE && TRUE = FALSE = no action will run, since the overall test result did not change (went from FALSE to FALSE)
Maybe balala can explain this better, or provide a solution that avoids the extra redraw on each measure update.
