mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 22:20:55 +03:00
a new approach for the ui
This commit is contained in:
@@ -34,6 +34,15 @@ import User from './user';
|
||||
window.appState = state;
|
||||
window.appEmit = emitter.emit.bind(emitter);
|
||||
let unsupportedReason = null;
|
||||
|
||||
emitter.on('render', () => {
|
||||
if (state.animation) {
|
||||
window.requestAnimationFrame(() => {
|
||||
state.animation();
|
||||
state.animation = null;
|
||||
});
|
||||
}
|
||||
});
|
||||
if (
|
||||
// Firefox < 50
|
||||
/firefox/i.test(navigator.userAgent) &&
|
||||
|
||||
Reference in New Issue
Block a user