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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user