My friend mentioned Telegram light/dark switcher has a neat animation, so how could i resist.
Alexander Mikhaylenko [old]
My friend mentioned Telegram light/dark switcher has a neat animation, so how could i resist. 2 comments
Alexander Mikhaylenko [old]
@grishka not really a hack, that’s how everyone does it. Same here as well. :p |
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 ¯\_(ツ)_/¯