D13218: Draw FrameSVG corners only if both borders in both directions are enabled

Vlad Zagorodniy noreply at phabricator.kde.org
Wed May 30 16:34:31 UTC 2018


zzag created this revision.
zzag added a reviewer: Plasma.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
zzag requested review of this revision.

REVISION SUMMARY
  FrameSVG documentation states
  
  > ... topleft and topright will be ignored if top does not exist,
  >  and similarly for bottomleft and bottomright ...
  
  Someone would assume that the same behaviour applies to the case
  when left(or right) does not exists.
  
  This change makes FrameSVG to comply with such expected behaviour.
  
  Before
  
  <%= image %>
  
  The bottom border doesn't exist so the bottom-right corner should not
  be drawn.
  
  After
  
  <%= image %>

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  fix-paintcorner

REVISION DETAIL
  https://phabricator.kde.org/D13218

AFFECTED FILES
  src/plasma/framesvg.cpp

To: zzag, #plasma
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180530/36dd5796/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list