Skip to content
  • Eskil Abrahamsen Blomfeldt's avatar
    BorderImage: Fix white area when size changes after first paint · 87755d04
    Eskil Abrahamsen Blomfeldt authored
    
    
    When e.g. growing the size of the border image in an animation,
    we would not get updates of the paint nodes when the size was
    so small that the bounded target rect and source rect did not
    change (when the size was smaller than the sum of the borders).
    Since this can happen, we also need to detect when the size
    changes and update the node for this case.
    
    Task-number: QTBUG-42022
    Change-Id: I0849d740f363e66a3a4fd6de23fc9d7399ab0779
    Reviewed-by: default avatarGunnar Sletta <gunnar@sletta.org>
    87755d04