MCPcopy Create free account
hub / github.com/corecoding/Vitals / _removeHotItem

Method _removeHotItem

extension.js:596–603  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

594 }
595
596 _removeHotItem(key) {
597 if (key in this._hotItems) {
598 this._hotItems[key].destroy();
599 delete this._hotItems[key];
600 delete this._hotLabels[key];
601 delete this._widths[key];
602 }
603 }
604
605 _redrawMenu() {
606 this._removeHotItems();

Callers 3

_removeHotItemsMethod · 0.95
_appendMenuItemMethod · 0.95

Calls 1

destroyMethod · 0.45

Tested by

no test coverage detected