mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Some macOS improvements for animations and retina support.
This commit is contained in:
@@ -66,6 +66,11 @@ TopBarWidget::TopBarWidget(MainWidget *w) : TWidget(w)
|
||||
rtlupdate(0, 0, st::titleUnreadCounterRight, st::titleUnreadCounterTop);
|
||||
});
|
||||
}
|
||||
subscribe(App::histories().sendActionAnimationUpdated(), [this](const Histories::SendActionAnimationUpdate &update) {
|
||||
if (App::main() && update.history->peer == App::main()->historyPeer()) {
|
||||
rtlupdate(0, 0, width(), height());
|
||||
}
|
||||
});
|
||||
|
||||
setCursor(style::cur_pointer);
|
||||
showAll();
|
||||
|
Reference in New Issue
Block a user