diff options
author | 2019-09-28 19:58:04 +0200 | |
---|---|---|
committer | 2019-09-28 19:58:04 +0200 | |
commit | e34fb4401c261f6d8fb01f4d1a07b496af722345 (patch) | |
tree | b8722bcee7ffc1ef4a0ef74ee1716c050e22b283 /src/lib | |
parent | add disablewebsecurity option (diff) | |
download | ferdium-app-e34fb4401c261f6d8fb01f4d1a07b496af722345.tar.gz ferdium-app-e34fb4401c261f6d8fb01f4d1a07b496af722345.tar.zst ferdium-app-e34fb4401c261f6d8fb01f4d1a07b496af722345.zip |
enable touchbar in electron 6
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/TouchBar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/TouchBar.js b/src/lib/TouchBar.js index 97c02d194..e10e53001 100644 --- a/src/lib/TouchBar.js +++ b/src/lib/TouchBar.js | |||
@@ -42,7 +42,7 @@ export default class FranzTouchBar { | |||
42 | }), new TouchBarSpacer({ size: 'small' })); | 42 | }), new TouchBarSpacer({ size: 'small' })); |
43 | })); | 43 | })); |
44 | 44 | ||
45 | const touchBar = new TouchBar(buttons); | 45 | const touchBar = new TouchBar({ items: buttons }); |
46 | currentWindow.setTouchBar(touchBar); | 46 | currentWindow.setTouchBar(touchBar); |
47 | } else { | 47 | } else { |
48 | currentWindow.setTouchBar(null); | 48 | currentWindow.setTouchBar(null); |