ENMBadgedBarButtonItem-Swift icon indicating copy to clipboard operation
ENMBadgedBarButtonItem-Swift copied to clipboard

Update BadgedBarButtonItem.swift

Open Skymax1986 opened this issue 7 years ago • 0 comments

Fixes missing opacity and frame when badge was "removed".

When a badge is removed (opacity is animated to zero) the opacity is net resetted to 1 and the frame is not correct, because it never gets removed from it's superview and therefore animateBadgeValueUpdate() is called in this case.

Skymax1986 avatar Dec 01 '17 13:12 Skymax1986