Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
avinayak committed May 3, 2023
1 parent 3f5503d commit 884235f
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 8 deletions.
Binary file renamed minim_v3_0_76.zip → minim_v3_0_77.zip
Binary file not shown.
4 changes: 3 additions & 1 deletion src/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ body {
flex-direction: column;
justify-content: space-between;
.bottom {
position: fixed;
padding: 0px 14px;
bottom: 0px;
display: flex;
justify-content: space-between;
align-items: flex-start;
Expand Down Expand Up @@ -343,7 +345,7 @@ body {
grid-row-gap: 0px;

width: 100%;
height: 100%;
height: calc(100vh - 50px);

padding: 0px 28px;

Expand Down
2 changes: 1 addition & 1 deletion src/WallpaperInfoSpinner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function WallpaperInfoSpinner({}) {
<span className="spinner wallpaper-info">
{meta && (
<OverlayTrigger
trigger={["hover"]}
trigger={["hover", "focus"]}
placement="top"
overlay={popover(meta)}
>
Expand Down
6 changes: 3 additions & 3 deletions src/settings/BackgroundToggles.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { mdiDotsGrid, mdiImageFilterBlackWhite } from "@mdi/js";
import { mdiBlur, mdiSquareOpacity } from "@mdi/js";
import { IconButton } from "../components/IconButton";
import {
useWallpaper,
Expand All @@ -12,7 +12,7 @@ export function BackgroundToggles() {
return (
<div className="background-toggles">
<IconButton
icon={mdiImageFilterBlackWhite}
icon={mdiSquareOpacity}
tooltip="Grayscale"
on={wallpaper.grayScale}
onClick={() => {
Expand All @@ -26,7 +26,7 @@ export function BackgroundToggles() {
}}
/>
<IconButton
icon={mdiDotsGrid}
icon={mdiBlur}
tooltip="Texture"
on={wallpaper.texture}
onClick={() => {
Expand Down
2 changes: 1 addition & 1 deletion src/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "3.0.76"
"version": "3.0.78"
}
5 changes: 4 additions & 1 deletion src/wallpaper/WallpaperSurface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ export const WallpaperSurface = ({ tick }: {}) => {
}, []);

useEffect(() => {
if (wallpaper.changeEvery === "never" || wallpaper.type !== "photography")
if (
wallpaper.changeEvery === "never" ||
wallpaper.wallpaperType !== "photography"
)
return;

const nextWallpaperChangeAt = parseInt(
Expand Down
1 change: 0 additions & 1 deletion src/wallpaper/image-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ export async function fetchLatestImage(): Promise<string> {
const images = (event.target as IDBRequest<[ImageEntry]>).result;
if (images.length > 0) {
blobToBase64(images[images.length - 1].image).then((base64) => {
console.log(images[images.length - 1])
resolve({
wallpaper_url: base64 as string,
meta: images[images.length - 1].metadata,
Expand Down

0 comments on commit 884235f

Please sign in to comment.