Commit 1d0e3af1 authored by amandaghassaei's avatar amandaghassaei

update canvas dim

parent ba350e15
......@@ -5,6 +5,11 @@
function initControls(globals){
window.addEventListener('resize', function(){
globals.threeView.onWindowResize();
updateCanvasDimensions();
}, false);
$("#logo").mouseenter(function(){
$("#activeLogo").show();
$("#inactiveLogo").hide();
......
......@@ -6,10 +6,6 @@ globals = {};
$(function() {
window.addEventListener('resize', function(){
globals.threeView.onWindowResize();
}, false);
globals = initGlobals();
globals.UI3D = init3DUI(globals);
globals.importer = initImporter(globals);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment