mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-04 02:50:36 +00:00
Set device pixel ratio for counter layer
This commit is contained in:
@@ -232,6 +232,7 @@ QIcon IconGraphic::trayIcon(
|
||||
: 16;
|
||||
const auto layer = Window::GenerateCounterLayer({
|
||||
.size = layerSize,
|
||||
.devicePixelRatio = iconImage.devicePixelRatio(),
|
||||
.count = counter,
|
||||
.bg = bg,
|
||||
.fg = fg,
|
||||
|
||||
Reference in New Issue
Block a user