Do not show dps/volley columns by default

This commit is contained in:
DarkPhoenix
2019-07-07 12:10:32 +03:00
parent c4484d735a
commit 845630437e
3 changed files with 9 additions and 6 deletions

View File

@@ -81,6 +81,14 @@ class FitGraph(metaclass=ABCMeta):
def inputMap(self):
return OrderedDict(((i.handle, i.unit), i) for i in self.inputs)
@property
def srcExtraCols(self):
return ()
@property
def tgtExtraCols(self):
return ()
srcVectorDef = None
tgtVectorDef = None
hasTargets = False

View File

@@ -67,6 +67,7 @@ class FitDamageStatsGraph(FitGraph):
srcVectorDef = VectorDef(lengthHandle='atkSpeed', lengthUnit='%', angleHandle='atkAngle', angleUnit='degrees', label='Attacker')
tgtVectorDef = VectorDef(lengthHandle='tgtSpeed', lengthUnit='%', angleHandle='tgtAngle', angleUnit='degrees', label='Target')
hasTargets = True
srcExtraCols = ('Dps', 'Volley')
# Calculation stuff
_normalizers = {

View File

@@ -134,12 +134,6 @@ class BaseList(gui.display.Display):
class FitList(BaseList):
DEFAULT_COLS = (
'Base Icon',
'Base Name',
'Dps',
'Volley')
def __init__(self, graphFrame, parent):
super().__init__(graphFrame, parent)
fit = Fit.getInstance().getFit(self.graphFrame.mainFrame.getActiveFit())