Re: [BUG] Specific case caused by !Redraw if in Measure in IfCondition
Posted: July 26th, 2020, 12:55 pm
Yincognito, from my experience with the skin I was working, showing meter group comes first and then udating it is the second, otherwise it is not displayed properly unless it is later updated.Yincognito wrote: ↑July 25th, 2020, 8:41 am Updating the meter group should come first here, followed by showing it and redrawing the skin. At least that's how I would do it.
Secondly, my skin still chops the bottom part even after I put the measure at the very very end of the skin. The final [!Redraw] bang chops it off.
After various combinations I found out working and unworking combos:
This works (no chop):
[!ShowMeterGroup GrpCmp][!UpdateMeter *]
[!ShowMeterGroup GrpCmp][!UpdateMeter *][!Redraw][!UpdateMeter *]
[!ShowMeterGroup GrpCmp][!UpdateMeter *][!Redraw][!UpdateMeter *][!Redraw]
[!UpdateMeter *][!ShowMeterGroup GrpCmp][!Redraw][!UpdateMeter *]
This doesn't work (chop):
[!UpdateMeter *][!ShowMeterGroup GrpCmp]
[!UpdateMeter *][!ShowMeterGroup GrpCmp][!Redraw] (this doesn't properly display stuff unless updated again)
[!ShowMeterGroup GrpCmp][!UpdateMeter *][!Redraw]
[!UpdateMeter *][!ShowMeterGroup GrpCmp][!Redraw][!UpdateMeter *][!Redraw] (the last redraw causes the chop)
[!ShowMeterGroup GrpCmp][!Redraw][!UpdateMeter *][!Redraw]
[!UpdateMeter *][!Redraw][!ShowMeterGroup GrpCmp][!Redraw]
[some bangs...][!Redraw][!UpdateMeter *][!ShowMeterGroup GrpCmp][!Redraw]
[some bangs...][!Redraw][!ShowMeterGroup GrpCmp][!UpdateMeter *][!Redraw]