MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / formatTooltip

Method formatTooltip

gui/builtinStatsViews/outgoingViewFull.py:97–104  ·  view source on GitHub ↗
(text, preSpool, fullSpool, prec, lowest, highest)

Source from the content-addressed store, hash-verified

95 def refreshPanel(self, fit):
96
97 def formatTooltip(text, preSpool, fullSpool, prec, lowest, highest):
98 if roundToPrec(preSpool, prec) == roundToPrec(fullSpool, prec):
99 return False, text
100 else:
101 return True, "{}\nSpool up: {}-{}".format(
102 text,
103 formatAmount(preSpool, prec, lowest, highest),
104 formatAmount(fullSpool, prec, lowest, highest))
105
106 defaultSpoolValue = eos.config.settings['globalDefaultSpoolupPercentage']
107 counter = 0

Callers

nothing calls this directly

Calls 2

formatAmountFunction · 0.90
roundToPrecFunction · 0.85

Tested by

no test coverage detected