File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 51
51
height: 400px ;
52
52
}
53
53
< / style>
54
+ < div id= " container" width= " 500" height= " 500" >
55
+ < div id= " crosshair" >< img src= " https://s3.amazonaws.com/cdo-dist/cdo-voxel/crosshair4.png" >< / div>
56
+ < / div>
54
57
< script type= " text/javascript" src= " https://s3.amazonaws.com/cdo-dist/cdo-voxel/bundle.js" >< / script>
55
58
< % } %>
56
59
<% if ((app === " maze" && options .levelId .indexOf (' 3_' ) === 0 ) ||
Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ Minecraft.init = function(config) {
98
98
// Adjust visualizationColumn width.
99
99
var visualizationColumn = document . getElementById ( 'visualizationColumn' ) ;
100
100
visualizationColumn . style . width = '400px' ;
101
+ visualizationColumn . appendChild ( document . getElementById ( 'container' ) ) ;
101
102
102
103
// base's BlocklyApps.resetButtonClick will be called first
103
104
var resetButton = document . getElementById ( 'resetButton' ) ;
Original file line number Diff line number Diff line change 1
- <div id =" container" width =" 500" height =" 500" >
2
- <div id =" crosshair" ><img src =" https://s3.amazonaws.com/cdo-dist/cdo-voxel/crosshair4.png" ></div >
3
- </div >
4
1
<svg xmlns =" http://www.w3.org/2000/svg" version =" 1.1" id =" svgMinecraft" ></svg >
5
2
<!-- TODO remove ^-->
You can’t perform that action at this time.
0 commit comments