• Nate Graham's avatar
    [notifications] Fix margins of close button timeout indicator · 07992bc4
    Nate Graham authored
    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.
    
    BUG: 425911
    07992bc4
NotificationHeader.qml 9.1 KB