Skip to content

Conversation

@Garulf
Copy link
Member

@Garulf Garulf commented Aug 30, 2022

Allows plugins to apply a rounded mask to a result icon.

Plugin need only provide the field RoundedIcon with a Boolean. Defaults to False

Some API's provide a square icon but intend to be displayed with rounded edges. This will help display images correctly.

Before:
image

After:
image

@onesounds
Copy link
Contributor

I think it's ok.
There are many services that mask with circular icons, so it will be used often in the long run.

{
get
{
if (Result.RoundedIcon)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this is a bit hacky🤣
And also you may need a OnPropertyChanged? (maybe not because fody handles that)

@jjw24 jjw24 added the enhancement New feature or request label Oct 3, 2022
@jjw24 jjw24 added this to the 1.10.0 milestone Oct 3, 2022
@jjw24 jjw24 merged commit a200ada into dev Oct 3, 2022
@jjw24 jjw24 deleted the rounded-icon-mask-field branch October 3, 2022 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants