2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Set device pixel ratio for counter layer

This commit is contained in:
Ilya Fedin
2023-04-04 09:14:39 +04:00
committed by John Preston
parent c9308d04b8
commit 8dee2a1c8b
3 changed files with 6 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ struct CounterLayerArgs {
required<int> count = 1;
required<style::color> bg;
required<style::color> fg;
double devicePixelRatio = 1.;
};
[[nodiscard]] QImage GenerateCounterLayer(CounterLayerArgs &&args);