mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
fix lint errors
This commit is contained in:
parent
28321236d6
commit
ab3d4b7e8f
2 changed files with 10 additions and 5 deletions
|
|
@ -112,7 +112,11 @@ const Tab = (props: TabProps) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab_icon {
|
.tab_icon {
|
||||||
transition: opacity 0.2s ease, color 0.2s ease, transform 0.25s ease, background-color 0.1s ease;
|
transition:
|
||||||
|
opacity 0.2s ease,
|
||||||
|
color 0.2s ease,
|
||||||
|
transform 0.25s ease,
|
||||||
|
background-color 0.1s ease;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 7px;
|
right: 7px;
|
||||||
|
|
|
||||||
|
|
@ -38,10 +38,11 @@ test.before(async () => {
|
||||||
|
|
||||||
test.after(async () => {
|
test.after(async () => {
|
||||||
await app
|
await app
|
||||||
.evaluate(({BrowserWindow}) =>
|
.evaluate(
|
||||||
BrowserWindow.getFocusedWindow()
|
({BrowserWindow}) =>
|
||||||
?.capturePage()
|
BrowserWindow.getFocusedWindow()
|
||||||
.then((img) => img.toPNG().toString('base64'))
|
?.capturePage()
|
||||||
|
.then((img) => img.toPNG().toString('base64'))
|
||||||
)
|
)
|
||||||
.then((img) => Buffer.from(img || '', 'base64'))
|
.then((img) => Buffer.from(img || '', 'base64'))
|
||||||
.then(async (imageBuffer) => {
|
.then(async (imageBuffer) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue