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

Method UpdateTabFX

gui/chrome_tabs.py:1245–1250  ·  view source on GitHub ↗

Updates tab drop shadow bitmap

(self)

Source from the content-addressed store, hash-verified

1243 pass
1244
1245 def UpdateTabFX(self):
1246 """ Updates tab drop shadow bitmap """
1247 self.fxBmps.clear()
1248 for tab in self.tabs:
1249 tabW, tabH = tab.tab_size
1250 self.fxBmps[tab] = self.GetTabFx(tabW, self.height + 1)
1251
1252 @lru_cache(maxsize=50)
1253 def GetTabFx(self, width, height):

Callers 1

AdjustTabsSizeMethod · 0.95

Calls 2

GetTabFxMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected