Open sujeet-agrahari opened 3 years ago
How can I turn off grid by default. In
grid.js
, tried setting values to toggle but it doen't work(function grid() { //Code isolation var toggle=1; //grid on by default var msg = { "type": "grid", "id":"", "toggle":toggle };
Hello. Just change
var toogle=1;
New:
var toogle=0;
Also, can you please explain what's this is doing
if($("#menu").width()>Tools.menu_width+3)return;
in each tool? I'm not sure, I did not delve into the project, but I think that if the submenu is open, then do not draw on the board, but close the submenu
How can I turn off grid by default. In
grid.js
, tried setting values to toggle but it doen't work(function grid() { //Code isolation var toggle=1; //grid on by default var msg = { "type": "grid", "id":"", "toggle":toggle };
Hello. Just change
var toogle=1;
New:var toogle=0;
As I already mentioned I tried setting those values to toggle, but that didn't work, but as a workaround I had to change the initial fill for board to white
than to grid
in board.html
.
How can I turn off grid by default. In
grid.js
, tried setting values to toggle but it doen't workAlso, can you please explain what's this is doing
if($("#menu").width()>Tools.menu_width+3)return;
in each tool?