Fixed layout update when "Mirror" option is changed

Resolves #230
This commit is contained in:
Raphael Coeffic
2021-06-17 08:50:19 +02:00
parent b3289ae5d4
commit 64e2b25a1f
@@ -89,7 +89,8 @@ void Layout::adjustLayout()
(hasTopbar() ? 1 << 0 : 0) | (hasTopbar() ? 1 << 0 : 0) |
(hasSliders() ? 1 << 1 : 0) | (hasSliders() ? 1 << 1 : 0) |
(hasTrims() ? 1 << 2 : 0) | (hasTrims() ? 1 << 2 : 0) |
(hasFlightMode() ? 1 << 3 : 0); (hasFlightMode() ? 1 << 3 : 0) |
(isMirrored() ? 1 << 4 : 0);
if (checkSettings == decorationSettings) { if (checkSettings == decorationSettings) {
// everything ok, exit! // everything ok, exit!