Kaynağa Gözat

Use codeIcon from ui-components for the evaluate cmd

Jeremy Tuloup 4 yıl önce
ebeveyn
işleme
ac2458736b

+ 1 - 1
packages/debugger-extension/src/index.ts

@@ -647,7 +647,7 @@ const evaluatePlugin: JupyterFrontEndPlugin<void> = {
       label: trans.__('Evaluate Code'),
       caption: trans.__('Evaluate Code'),
       // TODO: use a different icon
-      icon: Debugger.Icons.continueIcon,
+      icon: Debugger.Icons.evaluateIcon,
       isEnabled: () => {
         return service.hasStoppedThreads();
       },

+ 2 - 1
packages/debugger/src/debugger.ts

@@ -1,7 +1,7 @@
 // Copyright (c) Jupyter Development Team.
 // Distributed under the terms of the Modified BSD License.
 
-import { runIcon, stopIcon } from '@jupyterlab/ui-components';
+import { codeIcon, runIcon, stopIcon } from '@jupyterlab/ui-components';
 
 import { EditorHandler as DebuggerEditorHandler } from './handlers/editor';
 
@@ -108,6 +108,7 @@ export namespace Debugger {
    */
   export namespace Icons {
     export const closeAllIcon = closeAll;
+    export const evaluateIcon = codeIcon;
     export const continueIcon = runIcon;
     export const stepIntoIcon = stepInto;
     export const stepOutIcon = stepOut;