Email or username:

Password:

Forgot your password?
Alexander Mikhaylenko [old]

My friend mentioned Telegram light/dark switcher has a neat animation, so how could i resist.

2 comments
Григорий Клюшников

The one in Telegram is implemented by taking a screenshot, changing the theme, overlaying the screenshot of the previous theme on top of everything and animating its clipping. A dirty hack, but it works ¯\_(ツ)_/¯

Alexander Mikhaylenko [old]

@grishka not really a hack, that’s how everyone does it. Same here as well. :p

Go Up