소스 검색

moving icons

Pamela Wolf 4 년 전
부모
커밋
8d480dd908

+ 1 - 5
inspector/src/components/actionTabs/actionTabs.scss

@@ -238,12 +238,8 @@ $line-padding-left: 2px;
                         background: rgb(51, 122, 183);
                         cursor: pointer;
                     }
-
-                  
-
                 }
                
-
                 .gradient-copy {            
                     grid-row: 1;
                     grid-column: 5;
@@ -265,7 +261,7 @@ $line-padding-left: 2px;
                     grid-column: 6;
                     display: grid;
                     align-content: center;
-                    justify-content: center;;
+                    justify-content: center;
                     .img {
                         height: 20px;
                         width: 20px;

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 10 - 0
inspector/src/components/actionTabs/lines/copyStep.svg


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 10 - 0
inspector/src/components/actionTabs/lines/delete.svg


+ 2 - 3
inspector/src/components/actionTabs/tabs/gradientStepComponent.tsx

@@ -4,9 +4,8 @@ import { Color3 } from 'babylonjs/Maths/math.color';
 import { GradientBlockColorStep } from 'babylonjs/Materials/Node/Blocks/gradientBlock';
 import { ColorPickerLineComponent } from '../lines/colorPickerComponent';
 
-
-const deleteButton = require('../../../../../nodeEditor/imgs/delete.svg');
-const copyIcon = require('../../../../../nodeEditor/src/sharedComponents/copy.svg');
+const deleteButton = require('../lines/delete.svg');
+const copyIcon = require('../lines/copyStep.svg');
 
 interface IGradientStepComponentProps {
     globalState: GlobalState;