mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
Updated TDesktop sources to 2.7.1+c08a148
This commit is contained in:
@@ -370,7 +370,7 @@ void NotificationsCount::setOverCorner(ScreenCorner corner) {
|
||||
samples[i]->showFast();
|
||||
}
|
||||
if (samplesNeeded > samplesLeave) {
|
||||
auto r = psDesktopRect();
|
||||
auto r = _controller->widget()->desktopRect();
|
||||
auto isLeft = Core::Settings::IsLeftCorner(_overCorner);
|
||||
auto isTop = Core::Settings::IsTopCorner(_overCorner);
|
||||
auto sampleLeft = (isLeft == rtl()) ? (r.x() + r.width() - st::notifyWidth - st::notifyDeltaX) : (r.x() + st::notifyDeltaX);
|
||||
|
Reference in New Issue
Block a user