Skip to content

Commit

Permalink
feat: change pgn opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
iib0011 committed Mar 8, 2025
1 parent fc58d7f commit 5d04e57
Show file tree
Hide file tree
Showing 11 changed files with 237 additions and 69 deletions.
83 changes: 40 additions & 43 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 51 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@jimp/types": "^1.6.0",
"@mui/icons-material": "^5.15.20",
"@mui/material": "^5.15.20",
"@playwright/test": "^1.45.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/options/ToolOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import React, { ReactNode, RefObject, useContext, useEffect } from 'react';
import { Formik, FormikProps, FormikValues, useFormikContext } from 'formik';
import ToolOptionGroups, { ToolOptionGroup } from './ToolOptionGroups';
import { CustomSnackBarContext } from '../../contexts/CustomSnackBarContext';
import * as Yup from 'yup';

export type UpdateField<T> = <Y extends keyof T>(field: Y, value: T[Y]) => void;

Expand All @@ -26,6 +25,7 @@ const FormikListenerComponent = <T,>({
compute(values, input);
} catch (exception: unknown) {
if (exception instanceof Error) showSnackBar(exception.message, 'error');
else console.error(exception);
}
}, [values, input]);

Expand Down
Loading

0 comments on commit 5d04e57

Please sign in to comment.