clearCache method

dynamic clearCache()

Implementation

clearCache() {
  cachePlayingIndex = -1;
  highlightWidth = 0;
}