fixed screen dragging. super smooth now

This commit is contained in:
MaxRobinsonTheGreat
2020-07-24 11:42:45 -06:00
parent 22e39b22ee
commit 55024734b3
4 changed files with 18 additions and 9 deletions

View File

@@ -20,6 +20,8 @@ class EditorController extends CanvasController{
this.editOrganism();
}
mouseUp(){}
editOrganism() {
if (this.edit_cell_type == null || this.mode != Modes.Edit)
return;