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
Fix rulers getting offset when attached to non-default-scaled entities
master
Fen Dweller
hace 4 años
padre
4e9718746d
commit
4576cc9a29
Se han
modificado 1 ficheros
con
3 adiciones
y
3 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+3
-3
macrovision.js
+ 3
- 3
macrovision.js
Ver fichero
@@ -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
}
Escribir
Vista previa
Cargando…
Cancelar
Guardar