本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
chemicalcrux
/
macrovision
關注
1
收藏
0
複製
0
程式碼
問題
5
合併請求
0
版本發佈
10
Wiki
活動
瀏覽代碼
Fix rulers getting offset when attached to non-default-scaled entities
master
Fen Dweller
4 年之前
父節點
4e9718746d
當前提交
4576cc9a29
共有
1 個檔案被更改
,包括
3 行新增
和
3 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-3
macrovision.js
+ 3
- 3
macrovision.js
查看文件
@@ -3111,12 +3111,12 @@ function entityRelativePosition(pos, entityElement) {
const x = parseFloat(entityElement.dataset.x)
const y = parseFloat(entityElement.dataset.y)
pos.x /= entity.scale
pos.y /= entity.scale
pos.x -= x
pos.y -= y
pos.x /= entity.scale
pos.y /= entity.scale
return pos
}
Write
Preview
Loading…
取消
儲存