updated with tooltip size change

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-05-02 09:20:53 -05:00
parent 3e812cb4a1
commit d77e1abc34

View File

@ -45,7 +45,7 @@ public class TooltipLabelAttribute: ActionLabelAttributeModel, TooltipLaunchable
attributedString.insert(NSAttributedString(string: spaceForTooltip), at: location)
//create the frame in which to hold the icon
let frame = CGRect(x: 0, y: 0, width: size.dimensions.width, height: size.dimensions.width)
let frame = CGRect(x: 0, y: 0, width: size.value.dimensions.width, height: size.value.dimensions.width)
//create the image icon and match the color of the text
let tooltipAttribute = ImageLabelAttribute(location: location + middle,