This website works better with JavaScript.
首頁
說明
登入
ben
/
goldfish
镜像来自
https://github.com/earwig/goldfish
關註
1
收藏
1
複製
0
程式碼
版本發佈
0
Activity
瀏覽代碼
No scaling if width, height are greater than 256
master
Lee
12 年之前
父節點
361b560d36
當前提交
7b8338d188
共有
1 個文件被更改
,包括
2 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/Render.java
+ 2
- 0
src/Render.java
查看文件
@@ -50,6 +50,8 @@ public class Render extends Canvas implements Runnable {
Render.scale = 4;
} else if (height <= 256 || width <= 256) {
Render.scale = 2;
} else {
Render.scale = 1;
}
}
Write
Preview
Loading…
取消
儲存