Skip to content

Commit

Permalink
Update electron version, remove desktop mode, improve PiP mode UX on …
Browse files Browse the repository at this point in the history
…exiting the mode.
  • Loading branch information
Egor committed Nov 26, 2021
1 parent f527dfb commit f73094f
Show file tree
Hide file tree
Showing 6 changed files with 5,726 additions and 127 deletions.
2 changes: 2 additions & 0 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ var defaults = {
iconPressed: path + '/icons/logo-icon-black-and-white-inverse/icon.iconset/icon_16x16.png',
preloadWindow: true,
showDockIcon: false,
showOnAllWorkspaces: false,
browserWindow: {
width: 500,
height: 500,
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true,
webviewTag: true
}
},
Expand Down
9 changes: 1 addition & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,6 @@
aria-hidden="true"></i>
</span>
</a>
<a id="desktop-mode-btn" class="button">
<span class="icon is-small">
<i class="fa fa-desktop" aria-hidden="true"></i>
<i class="fa fa-mobile" aria-hidden="true"></i>
</span>
</a>
</div>
</div>

Expand Down Expand Up @@ -271,8 +265,7 @@
forwardButton: document.getElementById('forward-btn'),
preferenceButton: document.getElementById('pref-btn'),
PIPMode: document.getElementById('PIP-btn'),
PIPDragArea: document.querySelector('.PIP-drag-area'),
desktopModeButton: document.getElementById('desktop-mode-btn')
PIPDragArea: document.querySelector('.PIP-drag-area')
};

initialised = true;
Expand Down
Loading

0 comments on commit f73094f

Please sign in to comment.