File tree Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ import {
34
34
clippingIcon ,
35
35
chamferIcon ,
36
36
filletIcon ,
37
- wireframeIcon
37
+ wireframeIcon ,
38
+ transformIcon
38
39
} from './tools' ;
39
40
import keybindings from './keybindings.json' ;
40
41
import { DEFAULT_MESH_COLOR } from './3dview/helpers' ;
@@ -973,7 +974,7 @@ export function addCommands(
973
974
current . transform = ! current . transform ;
974
975
commands . notifyCommandChanged ( CommandIDs . transform ) ;
975
976
} ,
976
- icon : axesIcon
977
+ icon : transformIcon
977
978
} ) ;
978
979
979
980
tracker . currentChanged . connect ( ( ) => {
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import logoStr from '../style/icon/logo.svg';
7
7
import stlStr from '../style/icon/stl.svg' ;
8
8
import stpStr from '../style/icon/stp.svg' ;
9
9
import axesIconStr from '../style/icon/axes.svg' ;
10
+ import transformIconStr from '../style/icon/transform.svg' ;
10
11
import boxIconStr from '../style/icon/box.svg' ;
11
12
import coneIconStr from '../style/icon/cone.svg' ;
12
13
import cutIconStr from '../style/icon/cut.svg' ;
@@ -105,6 +106,11 @@ export const axesIcon = new LabIcon({
105
106
svgstr : axesIconStr
106
107
} ) ;
107
108
109
+ export const transformIcon = new LabIcon ( {
110
+ name : 'jupytercad:transform-icon' ,
111
+ svgstr : transformIconStr
112
+ } ) ;
113
+
108
114
export const explodedViewIcon = new LabIcon ( {
109
115
name : 'jupytercad:explodedView-icon' ,
110
116
svgstr : explodedIconStr
You can’t perform that action at this time.
0 commit comments