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 |https://invent.kde.org/plas
                   |ma/plasma-workspace/commit/ |ma/plasma-workspace/commit/
                   |07992bc4abd6e9a3c4d1397eb05 |6d2ef8e25612d0c125190983bfe
                   |1dfba50715010               |d90bec106ec00

--- Comment #8 from Nate Graham <n...@kde.org> ---
Git commit 6d2ef8e25612d0c125190983bfed90bec106ec00 by Nate Graham.
Committed on 16/10/2020 at 12:39.
Pushed by ngraham into branch 'Plasma/5.20'.

[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.


(cherry picked from commit 07992bc4abd6e9a3c4d1397eb051dfba50715010)

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

https://invent.kde.org/plasma/plasma-workspace/commit/6d2ef8e25612d0c125190983bfed90bec106ec00

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

Reply via email to