https://bugs.kde.org/show_bug.cgi?id=425911

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/commit/
                   |                            |07992bc4abd6e9a3c4d1397eb05
                   |                            |1dfba50715010
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #7 from Nate Graham <n...@kde.org> ---
Git commit 07992bc4abd6e9a3c4d1397eb051dfba50715010 by Nate Graham.
Committed on 16/10/2020 at 12:38.
Pushed by ngraham into branch 'master'.

[notifications] Fix margins of close button timeout indicator

The previous calculation multiplied the DPR by `units.smallSpacing`, which was
not correct; we wanted DPR added to the existing margin, not multiplied by it.

Also using Math.floor is safer since Math.round sometimes rounds up (e.g. in
case DPR is 2.501) which can cause undesirable effects.

M  +2    -2    applets/notifications/package/contents/ui/NotificationHeader.qml

https://invent.kde.org/plasma/plasma-workspace/commit/07992bc4abd6e9a3c4d1397eb051dfba50715010

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to