File tree 2 files changed +11
-10
lines changed
arduino-ide-extension/src/browser
2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import {
10
10
Command ,
11
11
CommandRegistry ,
12
12
SketchContribution ,
13
+ TabBarToolbarRegistry ,
13
14
} from './contribution' ;
14
15
import { MaybePromise , MenuModelRegistry , nls } from '@theia/core/lib/common' ;
15
16
import { CurrentSketch } from '../../common/protocol/sketches-service-client-impl' ;
@@ -113,6 +114,10 @@ export class Debug extends SketchContribution {
113
114
} ) ;
114
115
}
115
116
117
+ override registerToolbarItems ( registry : TabBarToolbarRegistry ) : void {
118
+ registry . registerItem ( this . debugToolbarItem ) ;
119
+ }
120
+
116
121
override registerMenus ( registry : MenuModelRegistry ) : void {
117
122
registry . registerMenuAction ( ArduinoMenus . SKETCH__MAIN_GROUP , {
118
123
commandId : Debug . Commands . TOGGLE_OPTIMIZE_FOR_DEBUG . id ,
Original file line number Diff line number Diff line change 23
23
}
24
24
25
25
.p-TabBar-toolbar .item .arduino-tool-item .arduino-upload-sketch--toolbar ,
26
- .p-TabBar-toolbar .item .arduino-tool-item .arduino-verify-sketch--toolbar {
26
+ .p-TabBar-toolbar .item .arduino-tool-item .arduino-verify-sketch--toolbar ,
27
+ .p-TabBar-toolbar .item .arduino-tool-item .arduino-start-debug {
27
28
background : var (--theia-arduino-toolbar-button-background );
28
29
}
29
30
38
39
}
39
40
40
41
.arduino-verify-sketch--toolbar ,
41
- .arduino-upload-sketch--toolbar {
42
+ .arduino-upload-sketch--toolbar ,
43
+ .arduino-start-debug {
42
44
border-radius : 14px ;
43
45
}
44
46
79
81
}
80
82
81
83
.arduino-start-debug-icon {
82
- -webkit-mask : url ('../icons/debug-dark.svg' ) 50% ;
83
- mask : url ('../icons/debug-dark.svg' ) 50% ;
84
+ -webkit-mask : url ('../icons/debug-dark.svg' ) 50% 60% ;
84
85
-webkit-mask-size : 70% ;
85
- mask-size : 70% ;
86
86
-webkit-mask-repeat : no-repeat;
87
- mask-repeat : no-repeat;
88
87
display : flex;
89
88
justify-content : center;
90
89
align-items : center;
91
- color : var (--theia-ui-button-font-color );
92
- }
90
+ background-color : var (--theia-titleBar-activeBackground );
93
91
94
- .arduino-start-debug {
95
- border-radius : 12px ;
96
92
}
97
93
98
94
# arduino-toolbar-container {
You can’t perform that action at this time.
0 commit comments