mirror of https://github.com/procxx/kepka.git
Alpha 1.1.13: Fix build for Xcode.
This commit is contained in:
parent
58b79ab112
commit
ca47e4ebfd
|
@ -194,9 +194,8 @@ void PreviewWindowFramePaint(QImage &preview, const style::palette &palette, QRe
|
||||||
corners[1] = roundMask.copy(retinaRadius, 0, retinaRadius, retinaRadius);
|
corners[1] = roundMask.copy(retinaRadius, 0, retinaRadius, retinaRadius);
|
||||||
corners[2] = roundMask.copy(0, retinaRadius, retinaRadius, retinaRadius);
|
corners[2] = roundMask.copy(0, retinaRadius, retinaRadius, retinaRadius);
|
||||||
corners[3] = roundMask.copy(retinaRadius, retinaRadius, retinaRadius, retinaRadius);
|
corners[3] = roundMask.copy(retinaRadius, retinaRadius, retinaRadius, retinaRadius);
|
||||||
QImage *cornersPointers[] = { &corners[0], &corners[1], &corners[2], &corners[3] };
|
|
||||||
auto rounded = preview.copy(inner.x() * retina, inner.y() * retina, inner.width() * retina, inner.height() * retina);
|
auto rounded = preview.copy(inner.x() * retina, inner.y() * retina, inner.width() * retina, inner.height() * retina);
|
||||||
Images::prepareRound(rounded, cornersPointers);
|
Images::prepareRound(rounded, corners);
|
||||||
preview.fill(st::themePreviewBg->c);
|
preview.fill(st::themePreviewBg->c);
|
||||||
|
|
||||||
auto topLeft = st::macWindowShadowTopLeft.instance(QColor(0, 0, 0), dbisOne);
|
auto topLeft = st::macWindowShadowTopLeft.instance(QColor(0, 0, 0), dbisOne);
|
||||||
|
|
Loading…
Reference in New Issue