Skip to content
  • Timm Bäder's avatar
    switch: Create less pango layouts · 4ba1f19b
    Timm Bäder authored
    Instead of creating 2 pango layouts in every draw() and on in
    _get_content_size (and calling into gettext twice in both cases), just
    keep the layouts around and create them in only one place.
    4ba1f19b