New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #1196: Add svg support for app/window icon #2671
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking really good. Just one suggestion to make a comment a bit more readable.
internal/painter/image.go
Outdated
@@ -201,7 +201,8 @@ func isFileSVG(path string) bool { | |||
return strings.ToLower(filepath.Ext(path)) == ".svg" | |||
} | |||
|
|||
func isResourceSVG(res fyne.Resource) bool { | |||
// IsResourceSVG checks if given fyne Resource is svg or not |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// IsResourceSVG checks if given fyne Resource is svg or not | |
// IsResourceSVG checks if the resource is an SVG or not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jacalz Sorry for the delay done changes as suggested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to apologise ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work. Looks good to me :)
Great result thanks. I updated the description above because "Fixes" should just list the bug resolved, not all related PRs as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, nice fix
Description:
Fixes #1196
Checklist:
Where applicable:
go mod vendor
).