memory tutorial: Fix tile misrendering

Due to auto-centering, the left curtain would be rendered at the wrong place. Explicitly place it at 0px;
This commit is contained in:
Simon Hausmann 2023-04-06 09:23:59 +02:00 committed by Simon Hausmann
parent 8b1683bf0a
commit 86db590a37

View file

@ -27,6 +27,7 @@ component MemoryTile inherits Rectangle {
// Left curtain
Rectangle {
background: #193076;
x: 0px;
width: open_curtain ? 0px : (parent.width / 2);
height: parent.height;
animate width { duration: 250ms; easing: ease-in; }