[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [gcompris] src/activities/tic_tac_toe: tictactoe, when player2 scales, the rectangle is drawn on scr
From:       Johnny Jazeix <jazeix () gmail ! com>
Date:       2015-10-31 16:55:34
Message-ID: E1ZsZRG-0007i7-V6 () scm ! kde ! org
[Download RAW message or body]

Git commit 2d04b67a8af932e8ec18863d090fb5ebac516a33 by Johnny Jazeix.
Committed on 31/10/2015 at 16:55.
Pushed by jjazeix into branch 'master'.

tictactoe, when player2 scales, the rectangle is drawn on screen (else on d=
esktop it exceeded the window width)

M  +1    -1    src/activities/tic_tac_toe/TicTacToe.qml

http://commits.kde.org/gcompris/2d04b67a8af932e8ec18863d090fb5ebac516a33

diff --git a/src/activities/tic_tac_toe/TicTacToe.qml b/src/activities/tic_=
tac_toe/TicTacToe.qml
index ec1c6c9..8fa0aaf 100644
--- a/src/activities/tic_tac_toe/TicTacToe.qml
+++ b/src/activities/tic_tac_toe/TicTacToe.qml
@@ -354,7 +354,7 @@ ActivityBase {
             transform: Scale {
                 id: changeScalePlayer2
                 property real scale: 1
-                origin.x: 100
+                origin.x: player2.width
                 origin.y: 0
                 xScale: scale
                 yScale: scale
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic