Allow dragging while not rendering (Fix)

This commit is contained in:
M4YX0R
2021-12-10 08:43:28 +03:00
committed by GitHub
parent 5069e2673f
commit 455dedd1d2

View File

@@ -71,7 +71,7 @@ class EnvironmentController extends CanvasController{
}
performModeAction() {
if (Hyperparams.headless)
if (Hyperparams.headless && this.mode != Modes.Drag)
return;
var mode = this.mode;
var right_click = this.right_click;