이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
chemicalcrux
/
macrovision
보기
1
좋아요
0
포크
0
코드
이슈
5
풀 리퀘스트
0
릴리즈
10
위키
활동
소스 검색
Add an option to disable smoothing
This can improve performance on less-powerful computers.
master
Fen Dweller
4 년 전
부모
0b2dd59938
커밋
29f1d21289
2개의 변경된 파일
과
17개의 추가작업
그리고
2개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
macrovision.css
+13
-1
macrovision.js
+ 4
- 1
macrovision.css
파일 보기
@@ -33,6 +33,9 @@ body {
-moz-user-drag: none;
-o-user-drag: none;
pointer-events: none;
}
body.smoothing .entity-box {
transition: left 0.2s cubic-bezier(.1,.41,.18,.99), top 0.2s cubic-bezier(.1,.41,.18,.99), height 0.2s cubic-bezier(.1,.41,.18,.99), max-height 0.2s cubic-bezier(.1,.41,.18,.99);
}
@@ -1107,4 +1110,4 @@ body.screenshot-mode #menubar,
body.screenshot-mode #options,
body.screenshot-mode .scroll-button {
display: none;
}
}
+ 13
- 1
macrovision.js
파일 보기
@@ -2342,6 +2342,18 @@ const settingsData = {
toggleBodyClass("toggle-entity-glow", param);
}
},
"smoothing": {
name: "Smoothing",
desc: "Smooth out movements and size changes. Disable for better performance.",
type: "toggle",
default: true,
get value() {
return checkBodyClass("smoothing");
},
set value(param) {
toggleBodyClass("smoothing", param);
}
},
"solid-ground": {
name: "Solid Ground",
desc: "Draw solid ground at the y=0 line",
@@ -4430,4 +4442,4 @@ function panTo(x, y, height, xSpeed, ySpeed, heightSpeed, timestamp, remaining)
config.y = newY;
config.height = math.unit(newHeight, "meters");
updateSizes();
}
}
쓰기
미리보기
불러오는 중...
취소
저장