File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
arduino-ide-extension/src/browser/widgets Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ export class CloudSketchbookContribution extends Contribution {
298
298
x : container . getBoundingClientRect ( ) . left ,
299
299
y : container . getBoundingClientRect ( ) . top + container . offsetHeight ,
300
300
} ,
301
- args : arg ,
301
+ args : [ arg ] ,
302
302
} ;
303
303
this . contextMenuRenderer . render ( options ) ;
304
304
} ,
@@ -345,7 +345,7 @@ export class CloudSketchbookContribution extends Contribution {
345
345
container . getBoundingClientRect ( ) . top -
346
346
3.5 * container . offsetHeight ,
347
347
} ,
348
- args : arg ,
348
+ args : [ arg ] ,
349
349
} ;
350
350
this . contextMenuRenderer . render ( options ) ;
351
351
} ,
Original file line number Diff line number Diff line change @@ -173,13 +173,14 @@ export class SketchbookWidgetContribution
173
173
) ;
174
174
}
175
175
176
+ debugger ;
176
177
const options : RenderContextMenuOptions = {
177
178
menuPath : SKETCHBOOK__CONTEXT ,
178
179
anchor : {
179
180
x : container . getBoundingClientRect ( ) . left ,
180
181
y : container . getBoundingClientRect ( ) . top + container . offsetHeight ,
181
182
} ,
182
- args : arg ,
183
+ args : [ arg ] ,
183
184
} ;
184
185
this . contextMenuRenderer . render ( options ) ;
185
186
} ,
You can’t perform that action at this time.
0 commit comments