Deze website werkt beter met JavaScript.
Beginscherm
Verkennen
Help
Inloggen
chemicalcrux
/
macrovision
Volgen
1
Ster
0
Vork
0
Code
Kwesties
5
Pull-aanvragen
0
Publicaties
10
Wiki
Activiteit
Bladeren bron
Fix rulers getting offset when attached to non-default-scaled entities
master
Fen Dweller
4 jaren geleden
bovenliggende
4e9718746d
commit
4576cc9a29
1 gewijzigde bestanden
met
toevoegingen van 3
en
3 verwijderingen
Zij-aan-zij weergave
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-3
macrovision.js
+ 3
- 3
macrovision.js
Bestand weergeven
@@ -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
}
Schrijf
Voorbeeld
Laden…
Annuleren
Opslaan