Skip to content

Commit f75d5f0

Browse files
committed
eslint
1 parent d3c6cca commit f75d5f0

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

src/editor.ts

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,15 @@ export class DrawIODocumentWidget extends DocumentWidget<DrawIOWidget> {
223223

224224
actions['zoomOut'].icon = zoomoutIcon;
225225
actions['zoomOut'].tooltip = 'Zoom Out (Ctrl-(Numpad)/Alt+Mousewheel)';
226-
this.toolbar.addItem('zoomOut', new DrawIOToolbarButton(actions['zoomOut']));
226+
this.toolbar.addItem(
227+
'zoomOut',
228+
new DrawIOToolbarButton(actions['zoomOut'])
229+
);
227230

228231
actions['undo'].icon = undoIcon;
229232
actions['fillColor'].tooltip = 'Undo (Ctrl+Z)';
230233
this.toolbar.addItem('undo', new DrawIOToolbarButton(actions['undo']));
231-
234+
232235
actions['redo'].icon = redoIcon;
233236
actions['redo'].tooltip = 'Redo (Ctrl+Shift+Z)';
234237
this.toolbar.addItem('redo', new DrawIOToolbarButton(actions['redo']));
@@ -239,20 +242,29 @@ export class DrawIODocumentWidget extends DocumentWidget<DrawIOWidget> {
239242

240243
actions['toFront'].icon = toFrontIcon;
241244
actions['toFront'].tooltip = 'To Front (Ctrl+Shift+F)';
242-
this.toolbar.addItem('toFront', new DrawIOToolbarButton(actions['toFront']));
245+
this.toolbar.addItem(
246+
'toFront',
247+
new DrawIOToolbarButton(actions['toFront'])
248+
);
243249

244250
actions['toBack'].icon = toBackIcon;
245251
actions['toBack'].tooltip = 'To Back (Ctrl+Shift+B)';
246252
this.toolbar.addItem('toBack', new DrawIOToolbarButton(actions['toBack']));
247253

248254
actions['fillColor'].icon = fillColorIcon;
249255
actions['fillColor'].tooltip = 'Fill Color';
250-
this.toolbar.addItem('fillColor', new DrawIOToolbarButton(actions['fillColor']));
251-
256+
this.toolbar.addItem(
257+
'fillColor',
258+
new DrawIOToolbarButton(actions['fillColor'])
259+
);
260+
252261
actions['strokeColor'].icon = strokeColorIcon;
253262
actions['strokeColor'].tooltip = 'Fill Stroke Color';
254-
this.toolbar.addItem('strokeColor', new DrawIOToolbarButton(actions['strokeColor']));
255-
263+
this.toolbar.addItem(
264+
'strokeColor',
265+
new DrawIOToolbarButton(actions['strokeColor'])
266+
);
267+
256268
actions['shadow'].icon = shadowIcon;
257269
actions['shadow'].tooltip = 'Shadow';
258270
this.toolbar.addItem('shadow', new DrawIOToolbarButton(actions['shadow']));

0 commit comments

Comments
 (0)