Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
chemicalcrux
/
macrovision
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
5
Pull Requests
0
Lanzamientos
10
Wiki
Actividad
Explorar el Código
Make the ground move with the camera
master
Fen Dweller
hace 5 años
padre
7c2466cffd
commit
94f44bf0bb
Se han
modificado 3 ficheros
con
4 adiciones
y
2 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
macrovision.css
+1
-1
macrovision.html
+2
-0
macrovision.js
+ 1
- 1
macrovision.css
Ver fichero
@@ -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
Ver fichero
@@ -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
Ver fichero
@@ -340,6 +340,8 @@ function updateSizes(dirtyOnly = false) {
zIndex -= 1;
});
document.querySelector("#ground").style.top = pos2pix({x: 0, y: 0}).y + "px";
}
Escribir
Vista previa
Cargando…
Cancelar
Guardar