diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-03-27 12:15:03 +0000 |
---|---|---|
committer | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-03-27 12:15:03 +0000 |
commit | 7b9affcbe92351127cec21151f82f20bf0f49578 (patch) | |
tree | 212e918b13772680c80a306b480bdb43ebe1e94a /examples/video-flip2.js | |
parent | 3ebce92080647866cc60fe73cf5c5d7ce033538a (diff) | |
download | clutter-gst-7b9affcbe92351127cec21151f82f20bf0f49578.tar.gz |
Introduce ClutterGstBox to replace usage of (soon to be deprecated) ClutterActorBox
https://bugzilla.gnome.org/show_bug.cgi?id=696630
Diffstat (limited to 'examples/video-flip2.js')
-rw-r--r-- | examples/video-flip2.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/video-flip2.js b/examples/video-flip2.js index e0226a3..79c17a7 100644 --- a/examples/video-flip2.js +++ b/examples/video-flip2.js @@ -238,11 +238,11 @@ let positionActors = function() { for (let i = 0; i < ROWS; i++) { for (let j = 0; j < COLUMNS; j++) { - let input = new Clutter.ActorBox({ x1: j / COLUMNS, - x2: (j + 1) / COLUMNS, - y1: i / ROWS, - y2: (i + 1) / ROWS, - }) + let input = new ClutterGst.Box({ x1: j / COLUMNS, + x2: (j + 1) / COLUMNS, + y1: i / ROWS, + y2: (i + 1) / ROWS, + }) let actor = new ClutterGst.Crop({ cull_backface: true, pivot_point: new Clutter.Point({ x: 0.5, |