2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

New settings build ready in Xcode.

This commit is contained in:
John Preston
2016-08-28 14:23:32 -06:00
parent 2aab8bbae8
commit 605a45c8ba
14 changed files with 281 additions and 58 deletions

View File

@@ -224,7 +224,7 @@ void LayerStackWidget::startAnimation(float64 toOpacity) {
a_layer.start(toOpacity);
_a_background.start();
if (_layerCache.isNull()) {
if (auto cacheLayer = layer() ? layer() : _specialLayer) {
if (auto cacheLayer = layer() ? layer() : _specialLayer.ptr()) {
_layerCache = myGrab(cacheLayer);
_layerCacheBox = cacheLayer->geometry();
if (layer() && _specialLayer) {