Skip to content

Commit b664b0f

Browse files
author
Chris K
committed
DFL-3351 Debug service/tab doesn't have an icon
1 parent e0aabc3 commit b664b0f

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

src/client/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,11 +394,11 @@ window.cls.Client = function()
394394
}
395395
if(window.ini.debug)
396396
{
397-
window.viewsMenu.create();
398397
if(window.settings.debug.get('show-as-tab'))
399398
{
400399
ui_framework.layouts.main_layout.tabs.push('debug_new');
401400
window.topCell.tab.addTab(new Tab('debug_new', window.views['debug_new'].name));
401+
window.topCell.onresize();
402402
}
403403
}
404404
// a short workaround to hide some tabs as long as we don't have the dynamic tabs

src/ui-images/mode_debug.png

472 Bytes
Loading

src/ui-style/tabs.css

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ top-tabs tab .block-content
8989
line-height: 1;
9090
}
9191

92-
top-tabs .two-rows .inline-block
92+
top-tabs .two-rows .inline-block
9393
{
9494
vertical-align: middle;
9595
line-height: 2;
9696
}
9797

98-
top-tabs .two-rows .block-content
98+
top-tabs .two-rows .block-content
9999
{
100100
display: block;
101101
}
@@ -202,13 +202,13 @@ top-tabs .badge:empty
202202
.network_mode
203203
{
204204
background-image: url("../ui-images/mode_network.png");
205-
width: 23px;
205+
width: 23px;
206206
}
207207

208208
.resource_panel
209209
{
210210
background-image: url("../ui-images/mode_resources.png");
211-
width: 23px;
211+
width: 23px;
212212
}
213213

214214
.storage {
@@ -236,3 +236,9 @@ top-tabs .badge:empty
236236
background: url("../ui-images/mode_profiler.png");
237237
width: 25px;
238238
}
239+
240+
.debug_new
241+
{
242+
background-image: url("../ui-images/mode_debug.png");
243+
width: 25px;
244+
}

0 commit comments

Comments
 (0)