Update drag icon

This commit is contained in:
Miguel Solorio 2019-11-25 10:10:09 -08:00
parent 2834fa1ca1
commit 9dbb30ebf7
3 changed files with 5 additions and 11 deletions

View file

@ -141,7 +141,7 @@ export class DebugToolBar extends Themable implements IWorkbenchContribution {
this.$el = dom.$('div.debug-toolbar');
this.$el.style.top = `${layoutService.getTitleBarOffset()}px`;
this.dragArea = dom.append(this.$el, dom.$('div.drag-area'));
this.dragArea = dom.append(this.$el, dom.$('div.drag-area.codicon.codicon-gripper'));
const actionBarContainer = dom.append(this.$el, dom.$('div.action-bar-container'));
this.debugToolBarMenu = menuService.createMenu(MenuId.DebugToolBar, contextKeyService);

View file

@ -28,8 +28,10 @@
cursor: grab;
height: 32px;
width: 16px;
background: url('drag.svg') center center no-repeat;
background-size: 16px 16px;
opacity: 0.5;
display: flex;
align-items: center;
justify-content: center;
}
.monaco-workbench .debug-toolbar .drag-area.dragged {

View file

@ -1,8 +0,0 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="5" y="3" width="2" height="2" fill="#848484"/>
<rect x="5" y="7" width="2" height="2" fill="#848484"/>
<rect x="5" y="11" width="2" height="2" fill="#848484"/>
<rect x="9" y="3" width="2" height="2" fill="#848484"/>
<rect x="9" y="7" width="2" height="2" fill="#848484"/>
<rect x="9" y="11" width="2" height="2" fill="#848484"/>
</svg>

Before

Width:  |  Height:  |  Size: 441 B