本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
chemicalcrux
/
macrovision
關注
1
收藏
0
複製
0
程式碼
問題
5
合併請求
0
版本發佈
10
Wiki
活動
瀏覽代碼
Make the ground move with the camera
master
Fen Dweller
5 年之前
父節點
7c2466cffd
當前提交
94f44bf0bb
共有
3 個檔案被更改
,包括
4 行新增
和
2 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
macrovision.css
+1
-1
macrovision.html
+2
-0
macrovision.js
+ 1
- 1
macrovision.css
查看文件
@@ -544,7 +544,7 @@ body.toggle-height-bars .height-bar,
display: none;
position: absolute;
width: 100%;
height: 10vh;
height: 10
0
vh;
left: 0%;
top: calc(100% - 51px);
background: black;
+ 1
- 1
macrovision.html
查看文件
@@ -294,7 +294,7 @@
</div>
<canvas id="display">
</canvas>
<div class="bottom-cover"></div>
<div
id="ground"
class="bottom-cover"></div>
</div>
</div>
+ 2
- 0
macrovision.js
查看文件
@@ -340,6 +340,8 @@ function updateSizes(dirtyOnly = false) {
zIndex -= 1;
});
document.querySelector("#ground").style.top = pos2pix({x: 0, y: 0}).y + "px";
}
Write
Preview
Loading…
取消
儲存