diff --git a/CHANGELOG.md b/CHANGELOG.md index febe4a0..3a9882a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,11 +5,11 @@ ### Added - Support for multi-page music (with pdf intermediate) [Resolves #1] -- Nicer debugging features (clicking home will ignore preset data once) +- Nicer debugging features (clicking home will ignore preset data once, debugger for webview) ### Fixed -- Download button not always showing [Fixes #2] +- Download button not always showing (and not being able to click properly) [Fixes #2] - Hopefully fixed logging delays for the console viewer ## 0.10.0 (2021-06-10) diff --git a/src/main/preload.js b/src/main/preload.js index bd73ab3..62c5948 100644 --- a/src/main/preload.js +++ b/src/main/preload.js @@ -29,6 +29,7 @@ window.addButton = function () { button.style.marginLeft = '10px'; button.style.marginTop = '6px'; button.style.border = 'none'; + button.style.zIndex = 1; buttons.appendChild(button); } else { diff --git a/src/renderer/App.jsx b/src/renderer/App.jsx index 318740a..d13c712 100644 --- a/src/renderer/App.jsx +++ b/src/renderer/App.jsx @@ -5,7 +5,7 @@ import { sampleData } from '../common/sampleData'; import { Status } from './Status'; import { Webview } from './Webview'; -const useSampleData = true && !sessionStorage.getItem('flowkey-home'); +const useSampleData = false && !sessionStorage.getItem('flowkey-home'); export const App = () => { const [data, setData] = useState(isDevelopment && useSampleData ? sampleData.AllOfMe : undefined); diff --git a/src/renderer/Score.jsx b/src/renderer/Score.jsx index f95293f..4d4b765 100644 --- a/src/renderer/Score.jsx +++ b/src/renderer/Score.jsx @@ -141,7 +141,7 @@ export const Score = (props) => { diff --git a/src/renderer/Webview.jsx b/src/renderer/Webview.jsx index cc7fa29..93bea9c 100644 --- a/src/renderer/Webview.jsx +++ b/src/renderer/Webview.jsx @@ -1,6 +1,6 @@ import React, { useEffect, useRef, useState } from 'react'; import { ipcRenderer } from 'electron'; -import { ArrowLeft, ArrowRight, Home } from 'react-feather'; +import { ArrowLeft, ArrowRight, Cpu, Home } from 'react-feather'; import { Colors } from '../common/constants'; const DEBUG = false; @@ -71,6 +71,9 @@ export const Webview = (props) => { > {displayUrl} +