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

Method slotColour

gui/builtinViews/fittingView.py:748–752  ·  view source on GitHub ↗
(self, slot)

Source from the content-addressed store, hash-verified

746 event.Skip()
747
748 def slotColour(self, slot):
749 if isDark():
750 return slotColourMapDark.get(slot) or self.GetBackgroundColour()
751 else:
752 return slotColourMap.get(slot) or self.GetBackgroundColour()
753
754 def refresh(self, stuff):
755 """

Callers 1

refreshMethod · 0.95

Calls 2

isDarkFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected