소스 검색

3dModeling buildingCreate.js 袁明明 commit at 2021-01-14

袁明明 4 년 전
부모
커밋
0820a6eb91
1개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  1. 16 0
      3dModeling/bgyyc31/buildingCreate.js

+ 16 - 0
3dModeling/bgyyc31/buildingCreate.js

@@ -307,3 +307,19 @@ function registerEvent() {
             $('#fullScreen span').text('全屏');
             exitFullScreen();
             fullScreenState = false;
+            if ($('#mapBg').hasClass('active')) {
+                destoryMiniMap();
+                createMiniMap();
+            }
+        }
+        checkBtnActives(['#mapBg', '#sceneSetting']);
+    });
+    // 鼠标键按下事件,功能按钮隐藏
+    app.on(THING.EventType.MouseDown, function () {
+        app.pauseEvent(THING.EventType.CameraZoom, null, '摄像机前后滚动,功能图片隐藏');
+        if (showControlTimer != null) {
+            clearTimeout(showControlTimer);
+            showControlTimer = null;
+        }
+        stopRotate();
+        if (hiddenControlTimer == null) {