This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
chemicalcrux
/
macrovision
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
5
Захтеви за спајање
0
Издања
10
Вики
Activity
Преглед изворни кода
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…
Откажи
Сачувај