forked from jsantell/firefox-patches
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1011723-glitchy-web-audio-toggle-icon.patch
120 lines (115 loc) · 4.76 KB
/
1011723-glitchy-web-audio-toggle-icon.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
From bb29530cac634c6d5381eb2c53dc22fe9a7dea88 Mon Sep 17 00:00:00 2001
From: Jordan Santell <[email protected]>
Date: Mon, 19 May 2014 13:32:00 -0700
Subject: Bug 1011723 - Fix glitchy toolbar lag by making toolbar
static width in web audio editor tool, r=vp
---
browser/devtools/webaudioeditor/webaudioeditor.xul | 78 +++++++++++-----------
1 file changed, 39 insertions(+), 39 deletions(-)
diff --git a/browser/devtools/webaudioeditor/webaudioeditor.xul b/browser/devtools/webaudioeditor/webaudioeditor.xul
index 5a99e7e..fca4fcc 100644
--- a/browser/devtools/webaudioeditor/webaudioeditor.xul
+++ b/browser/devtools/webaudioeditor/webaudioeditor.xul
@@ -42,63 +42,63 @@
pack="center"
flex="1"
hidden="true">
<label id="requests-menu-waiting-notice-label"
class="plain"
value="&webAudioEditorUI.emptyNotice;"/>
</hbox>
- <hbox id="content"
- class="devtools-responsive-container"
+ <vbox id="content"
flex="1"
hidden="true">
- <vbox id="web-audio-content-pane" flex="1">
- <toolbar id="web-audio-toolbar" class="devtools-toolbar">
- <spacer flex="1"></spacer>
- <toolbarbutton id="inspector-pane-toggle" class="devtools-toolbarbutton"
- tabindex="0"/>
- </toolbar>
+ <toolbar id="web-audio-toolbar" class="devtools-toolbar">
+ <spacer flex="1"></spacer>
+ <toolbarbutton id="inspector-pane-toggle" class="devtools-toolbarbutton"
+ tabindex="0"/>
+ </toolbar>
+ <splitter class="devtools-horizontal-splitter"/>
+ <box id="web-audio-content-pane" flex="1">
<hbox flex="1">
<box id="web-audio-graph" class="devtools-responsive-container" flex="1">
<vbox flex="1">
<svg id="graph-svg" flex="1" viewBox="0 0 1000 500"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph-target" transform="translate(20,20)"/>
</svg>
</vbox>
</box>
</hbox>
- </vbox>
- <splitter class="devtools-side-splitter"/>
- <vbox id="web-audio-inspector" hidden="true">
- <hbox class="devtools-toolbar">
- <label id="web-audio-inspector-title" value="&webAudioEditorUI.inspectorTitle;"></label>
- </hbox>
- <deck id="web-audio-editor-details-pane" flex="1">
- <vbox id="web-audio-editor-details-pane-empty" flex="1">
- <label value="&webAudioEditorUI.inspectorEmpty;"></label>
- </vbox>
- <tabbox id="web-audio-editor-tabs"
- class="devtools-sidebar-tabs"
- handleCtrlTab="false">
- <tabs>
- <tab id="properties-tab"
- label="&webAudioEditorUI.tab.properties;"/>
- </tabs>
- <tabpanels flex="1">
- <tabpanel id="properties-tabpanel"
- class="tabpanel-content">
- <vbox id="properties-tabpanel-content" flex="1">
- </vbox>
- <vbox id="properties-tabpanel-content-empty" flex="1" hidden="true">
- <label value="&webAudioEditorUI.propertiesEmpty;"></label>
- </vbox>
- </tabpanel>
- </tabpanels>
- </tabbox>
- </deck>
- </vbox>
- </hbox>
+ <splitter class="devtools-side-splitter"/>
+ <vbox id="web-audio-inspector" hidden="true">
+ <hbox class="devtools-toolbar">
+ <label id="web-audio-inspector-title" value="&webAudioEditorUI.inspectorTitle;"></label>
+ </hbox>
+ <deck id="web-audio-editor-details-pane" flex="1">
+ <vbox id="web-audio-editor-details-pane-empty" flex="1">
+ <label value="&webAudioEditorUI.inspectorEmpty;"></label>
+ </vbox>
+ <tabbox id="web-audio-editor-tabs"
+ class="devtools-sidebar-tabs"
+ handleCtrlTab="false">
+ <tabs>
+ <tab id="properties-tab"
+ label="&webAudioEditorUI.tab.properties;"/>
+ </tabs>
+ <tabpanels flex="1">
+ <tabpanel id="properties-tabpanel"
+ class="tabpanel-content">
+ <vbox id="properties-tabpanel-content" flex="1">
+ </vbox>
+ <vbox id="properties-tabpanel-content-empty" flex="1" hidden="true">
+ <label value="&webAudioEditorUI.propertiesEmpty;"></label>
+ </vbox>
+ </tabpanel>
+ </tabpanels>
+ </tabbox>
+ </deck>
+ </vbox>
+ </box>
+ </vbox>
</vbox>
</window>
--
1.8.4.2