Skip to content
  • Ell's avatar
    imagemap: clear preview area background before drawing image · f91e2a94
    Ell authored
    Previously, we neither cleared the preview area's buffer, nor set
    its max size, so if the preview area was bigger than the image, the
    rest of the widget would display garbage.
    
    This is an ad-hoc-ish fix, simply filling the preview area's buffer
    with the background color prior to drawing the image.  Anything
    more sophisticated will have to wait till image maps are cool
    again, I guess :)
    f91e2a94