0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-22 09:17:56 +01:00

Added a div 'preview_tmp' as a precursor to a more efficient way of showing the doodle preview

This commit is contained in:
Adriaan Wormgoor 2013-08-16 22:26:00 +02:00
parent d420bde380
commit 39157ab392
2 changed files with 7 additions and 0 deletions

View File

@ -108,6 +108,11 @@ body {
border-radius: 15px; border-radius: 15px;
} }
#preview_tmp {
/*border: 1px solid #8fc;*/
display: none;
}
#mycanvas, #preview { #mycanvas, #preview {
/*border: 1px solid #08c;*/ /*border: 1px solid #08c;*/
float: left; float: left;

View File

@ -49,6 +49,7 @@
<!--<path id="path" d="M200 100 L450 100 L450 350 L200 350 L200 100" fill="none" stroke="black" stroke-width="3"/>--> <!--<path id="path" d="M200 100 L450 100 L450 350 L200 350 L200 100" fill="none" stroke="black" stroke-width="3"/>-->
<!--</svg>--> <!--</svg>-->
<canvas id="preview"></canvas> <canvas id="preview"></canvas>
<canvas id="preview_tmp" width="150" height="125"></canvas>
<div class="buttons cf"> <div class="buttons cf">
<div id="btnsUpDown"> <div id="btnsUpDown">
<div id="btnMoveUp"></div> <div id="btnMoveUp"></div>
@ -92,6 +93,7 @@
<script src="js/init_layout.js"></script> <script src="js/init_layout.js"></script>
<script src="js/Printer.js"></script> <script src="js/Printer.js"></script>
<!--<script src="js/draw_logic.js"></script>--> <!--<script src="js/draw_logic.js"></script>-->
<script src="js/utils.js"></script>
<script src="js/main.js"></script> <script src="js/main.js"></script>
</body> </body>