future преди 1 година
родител
ревизия
71ffca13d7
променени са 1 файла, в които са добавени 2 реда и са изтрити 4 реда
  1. 2 4
      assets/script/edit/Attributes.ts

+ 2 - 4
assets/script/edit/Attributes.ts

@@ -307,10 +307,8 @@ export class Attributes extends Component {
                 this.attributes_map.get("rotation").active = false;
                 this.attributes_map.get("be_active").active = true;
             }
-            this.scheduleOnce(()=>{
-                this.updateAttInfo()
-            },0.1)
-  
+            // this.scheduleOnce(()=>{ this.updateAttInfo()},0.1)
+            this.updateAttInfo()
         }else{
             this.hideAllAtt()
         }