Skip to content
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

Fade in the web view #9

Open
sindresorhus opened this issue Jan 9, 2020 · 0 comments
Open

Fade in the web view #9

sindresorhus opened this issue Jan 9, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@sindresorhus
Copy link
Owner

It would be nice to fade in the web view when the page has loaded. Right now, it just shows a gray background on the first start until the page loads.

// TODO: Add a callback to `loadURL` when it's done loading instead.
// TODO: Fade in the web view.
delay(seconds: 1) {
self.desktopWindow.contentView?.isHidden = false
}

Here are some fade utilities: https://github.com/sindresorhus/Gifski/blob/5602861e7cf1970dcf19442e546e70d74cc30d58/Gifski/util.swift#L1397-L1428

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant