aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorLibravatar haraldox <hnaumann+github@gmail.com>2018-02-20 12:17:14 +0100
committerLibravatar haraldox <hnaumann+github@gmail.com>2018-02-20 12:17:14 +0100
commitcdf477682a3923d770596442549d229d413ef5a2 (patch)
tree77eac3d00dcaefd134b239588f2b6ac754ee9187 /src/lib
parentfix(Linux): Fix window restore on notification click (@closingin) (diff)
downloadferdium-app-cdf477682a3923d770596442549d229d413ef5a2.tar.gz
ferdium-app-cdf477682a3923d770596442549d229d413ef5a2.tar.zst
ferdium-app-cdf477682a3923d770596442549d229d413ef5a2.zip
[WIP] incorporate electron-react-titlebar
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Menu.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js
index 703060dc1..0818c94fb 100644
--- a/src/lib/Menu.js
+++ b/src/lib/Menu.js
@@ -124,8 +124,12 @@ export default class FranzMenu {
124 autorun(this._build.bind(this)); 124 autorun(this._build.bind(this));
125 } 125 }
126 126
127 get template() {
128 return toJS(this.tpl);
129 }
130
127 _build() { 131 _build() {
128 const tpl = toJS(this.tpl); 132 const tpl = this.template;
129 133
130 tpl[1].submenu.push({ 134 tpl[1].submenu.push({
131 role: 'toggledevtools', 135 role: 'toggledevtools',