瀏覽代碼

Stop panning on middle mouse up, even if the mouse is out of the world

master
Fen Dweller 5 年之前
父節點
當前提交
0d00764f1c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      macrovision.js

+ 1
- 1
macrovision.js 查看文件

@@ -2161,7 +2161,7 @@ document.addEventListener("DOMContentLoaded", () => {
}
});

document.querySelector("#world").addEventListener("mouseup", e => {
document.addEventListener("mouseup", e => {
if (e.which == 2) {
panning = false;
Object.keys(entities).forEach(key => {


Loading…
取消
儲存