diff --git a/drawMapGUI.html b/drawMapGUI.html
index cf4e9356..d110da46 100644
--- a/drawMapGUI.html
+++ b/drawMapGUI.html
@@ -8,6 +8,9 @@
font-family:Roboto,Helvetica,Arial,sans-serif;
background-color: #F5F5F5;
}
+ ::-webkit-scrollbar {
+ width: 5px;
+ }
.main {
max-width: 100%;
min-height: 500px;
@@ -43,6 +46,7 @@
margin-left: 22px;
margin-top: 21px;
line-height: 20px;
+ font: 400 13.3333px Arial;
}
#editTip{
position: absolute;
@@ -314,11 +318,10 @@
@@ -664,7 +667,6 @@
function locToPos(loc) {
pos = { 'x': ~~(loc.x / loc.size), 'y': ~~(loc.y / loc.size) }
- console.log(pos)
return pos;
}
@@ -806,8 +808,8 @@
selectBox.isSelected = true;
// console.log(pos,core.material.images[pos.images].height)
- dataSelection.style.left = (iconLib.offsetLeft+pos.x*32) +'px';
- dataSelection.style.top = (iconLib.offsetTop + pos.y*32) +'px';
+ dataSelection.style.left = pos.x*32 +'px';
+ dataSelection.style.top = pos.y*32 +'px';
info={'images':pos.images,'y':pos.y};
for (var ii=0;ii