浏览代码

tabs -> spaces, even though it is so wrong

Ken Paulson 8 年之前
父节点
当前提交
9f6c9f444d

+ 2 - 2
Data/AtomicEditor/ProjectTemplates/Project2D/CSharp/Resources/Components/Spinner.cs

@@ -8,8 +8,8 @@ public class Spinner : CSComponent
     [Inspector]
     float speed = 1.0f;    
 
-	//update function is called each frame
-	//timeStep: time since last call to update in seconds
+    //update function is called each frame
+    //timeStep: time since last call to update in seconds
     void Update(float timeStep)
     {
         Node.Roll(speed * timeStep * 75.0f);

+ 1 - 1
Data/AtomicEditor/ProjectTemplates/Project2D/JavaScript/Resources/Components/Spinner.js

@@ -7,7 +7,7 @@ var inspectorFields = {
 exports.component = function(self) {
     
     //update function is called each frame.
-	//timeStep: time since last call to update in seconds
+    //timeStep: time since last call to update in seconds
     self.update = function(timeStep) {
         //roll a node
         self.node.roll(self.speed * timeStep * 75);