mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-26 15:03:10 +00:00
Save Tree State (#1052)
This commit is contained in:
1 parent
f84c4ef2bd
commit
5868187410
6 files changed
+48
-8
No files matched your search
@@ -142,7 +142,11 @@ class CraftingTreeCanvas {
|
||||
public int treeWidth = 0;
|
||||
public int treeHeight = 0;
|
||||
|
||||
private final Camera camera = new Camera();
|
||||
private final Camera camera;
|
||||
|
||||
public CraftingTreeCanvas(Camera camera) {
|
||||
this.camera = camera;
|
||||
}
|
||||
|
||||
public void setViewport(int x, int y, int w, int h) {
|
||||
this.camera.setViewport(x, y, w, h);
|
||||
|
||||
Reference in new issue
Block a user