mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Use QImage bubbles background for some Media parts.
This commit is contained in:
@@ -1484,8 +1484,8 @@ HistoryView::PaintContext SessionController::bubblesContext(
|
||||
//}
|
||||
return {
|
||||
.bubblesPattern = _bubblesBackgroundPattern.get(),
|
||||
.viewport = viewport.translated(0, -args.initialShift),
|
||||
.clip = args.clip.translated(0, -args.initialShift),
|
||||
.viewport = viewport,
|
||||
.clip = args.clip,
|
||||
.now = crl::now(),
|
||||
};
|
||||
}
|
||||
|
@@ -454,7 +454,6 @@ public:
|
||||
int visibleAreaTopGlobal = 0;
|
||||
int visibleAreaWidth = 0;
|
||||
QRect clip;
|
||||
int initialShift = 0;
|
||||
};
|
||||
[[nodiscard]] HistoryView::PaintContext bubblesContext(
|
||||
BubblesContextArgs &&args);
|
||||
|
Reference in New Issue
Block a user