ruff_hi
Live 4ever! Or die trying
or actually fixing the code that draws the units would work too.
You are new here so I will waive your lack of understanding and let you in on the secret ... all of my code is broken ... by definition.What do you mean "fix code?" I don't understand... isn't all of your code perfect to start with?
# prior unit doesn't exist - just need to draw the new unit
# this is handled below in the '_update*' functions
if (len(self.BupUnits_Prior) != 0
and (iUnit_Prior >= 0
[COLOR="Red"][B]or[/B][/COLOR] iUnit_Prior < len(self.BupUnits_Prior))):
[COLOR="Red"]BupUnit_Prior = self.BupUnits_Prior[iUnit_Prior][/COLOR]
else:
BupUnit_Prior = None
fix committed for above r2200
some of those PLE options don't apply if you use the Vanilla or BUG draw methods. We probably should update that so that they get greyed out or have that info in the hover.
we need to review the UnitPlot option tab. I'm not the best at working with these tabs but I will take a look at it and suggestion a revised grouping.This would be very helpful. The plot list options screen could use an update to avoid the confusion.
typically it is in the main interface. But I believe we pulled it out to PLE.py.
def getX(self, nCol):
return 315 + (nCol * PleOpt.getHoriztonalSpacing())