Browse Source

[scene-editor] try another fix for icon broken scaling

Clément Espeute 1 năm trước cách đây
mục cha
commit
2b2748285f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      hide/comp/SceneEditor.hx

+ 2 - 0
hide/comp/SceneEditor.hx

@@ -1959,6 +1959,8 @@ class SceneEditor {
 			resetCamera();
 		}
 
+		set_camera2D(camera2D);
+
 		root2d.addChild(cameraController2D);
 		scene.setCurrent();
 		scene.onResize();