graphics/SFC_Objects.py
changeset 1872 866fb3ab8778
parent 1852 70c1cc354a8f
child 1881 091005ec69c4
equal deleted inserted replaced
1871:933fbe9a5e2c 1872:866fb3ab8778
   970         if highlight_type is None:
   970         if highlight_type is None:
   971             self.Highlights = {}
   971             self.Highlights = {}
   972         else:
   972         else:
   973             highlight_items = self.Highlights.items()
   973             highlight_items = self.Highlights.items()
   974             for name, highlights in highlight_items:
   974             for name, highlights in highlight_items:
   975                 highlights = ClearHighlights(highlight, highlight_type)
   975                 highlights = ClearHighlights(highlights, highlight_type)
   976                 if len(highlights) == 0:
   976                 if len(highlights) == 0:
   977                     self.Highlights.pop(name)
   977                     self.Highlights.pop(name)
   978 
   978 
   979     # Draws transition
   979     # Draws transition
   980     def Draw(self, dc):
   980     def Draw(self, dc):