try to draw 1000*1000 svg grig
This commit is contained in:
parent
ab64f3625f
commit
54fdebc9b1
|
@ -18,7 +18,7 @@ function tron(bot1,bot2,xdcheck){
|
|||
document.getElementById('fightResult').removeChild(document.getElementById('fightResult').firstChild);
|
||||
}
|
||||
// draw border;
|
||||
var svg = createElemNS('svg',{'id':'map','width':'200','height':'200','viewBox':'0 0 1000 1000'});
|
||||
var svg = createElemNS('svg',{'id':'map','width':'500','height':'500','viewBox':'0 0 1000 1000'});
|
||||
var rect=createElemNS('rect',{'x':'0','y':'0','width':'1000','height':'1000','style':'stroke:#000000; fill:none;'});
|
||||
svg.appendChild(rect);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user