Improved theme support

This commit is contained in:
Devine Lu Linvega
2018-09-12 13:20:31 +12:00
parent 81687281d5
commit a0ede91554
13 changed files with 150 additions and 116 deletions

View File

@@ -27,8 +27,8 @@ function Cursor()
this.translate(this.pos,this.pos,e.shiftKey)
}
dotgrid.guide.refresh();
dotgrid.interface.refresh();
dotgrid.guide.update();
dotgrid.interface.update();
e.preventDefault();
}
@@ -44,10 +44,10 @@ function Cursor()
}
if(this.last_pos.x != this.pos.x || this.last_pos.y != this.pos.y){
dotgrid.guide.refresh();
dotgrid.guide.update();
}
dotgrid.interface.refresh();
dotgrid.interface.update();
e.preventDefault();
this.last_pos = this.pos;
@@ -69,8 +69,8 @@ function Cursor()
this.translate();
dotgrid.interface.refresh();
dotgrid.guide.refresh();
dotgrid.interface.update();
dotgrid.guide.update();
e.preventDefault();
}