이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
chemicalcrux
/
macrovision
보기
1
좋아요
0
포크
0
코드
이슈
5
풀 리퀘스트
0
릴리즈
10
위키
활동
소스 검색
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
}
쓰기
미리보기
불러오는 중...
취소
저장