Adding grid

This commit is contained in:
Vince
2012-09-08 22:26:17 +02:00
parent 2cda69b000
commit 82da78abf1
3 changed files with 82 additions and 20 deletions

View File

@@ -105,7 +105,7 @@ $.namespace("pskl");
* @private
*/
calculateDPIsForDrawingCanvas_ : function() {
var availableViewportHeight = $('.main-panel').height();
var availableViewportHeight = $('.main-panel').height() - 50;
return Math.floor(availableViewportHeight / framePixelHeight);
},