Skip to content

Commit

Permalink
Merge pull request #40 from kurgm/fix-whitespace
Browse files Browse the repository at this point in the history
Fix whitespace in the source code
  • Loading branch information
kurgm authored Sep 23, 2023
2 parents 2a7eb07 + 101882c commit 86c3703
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/components/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ const Grid = () => {
);
};

export default Grid;
export default Grid;
22 changes: 11 additions & 11 deletions src/components/OptionModal.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
.modal-content {
position: absolute;
left: 50%;
transform: translate(-50%, 0);
bottom: 40px;
border: 1px solid #ccc;
background: #ffffff;
overflow: auto;
-webkit-overflow-scrolling: touch;
border-radius: 4px;
outline: none;
padding: 20px;
position: absolute;
left: 50%;
transform: translate(-50%, 0);
bottom: 40px;
border: 1px solid #ccc;
background: #ffffff;
overflow: auto;
-webkit-overflow-scrolling: touch;
border-radius: 4px;
outline: none;
padding: 20px;
}

.modal-content > div {
Expand Down
2 changes: 1 addition & 1 deletion src/components/OptionModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const OptionModal = () => {
const handleXorMaskTypeChange = useCallback((evt: React.ChangeEvent<HTMLSelectElement>) => {
dispatch(displayActions.setXorMaskType(evt.currentTarget.value as XorMaskType));
}, [dispatch]);

const { t, i18n } = useTranslation();
const handleLanguageChange = useCallback((evt: React.ChangeEvent<HTMLSelectElement>) => {
i18n.changeLanguage(evt.currentTarget.value);
Expand Down
6 changes: 3 additions & 3 deletions src/components/SelectionControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ const selectionControlSelector = createSelector(
});
let className = '';
if (matchType === MatchType.match) {
className = 'match';
className = 'match';
} else if (matchType === MatchType.online) {
className = 'online';
className = 'online';
}

pointControl.push({
Expand Down Expand Up @@ -186,4 +186,4 @@ const SelectionControl = () => {
</>;
};

export default SelectionControl;
export default SelectionControl;
2 changes: 1 addition & 1 deletion src/components/StrokeCenterLine.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
fill: none;
stroke: #ffffff;
stroke-width: 1px;
}
}
2 changes: 1 addition & 1 deletion src/components/SubmitForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ const SubmitForm = () => {
);
};

export default SubmitForm;
export default SubmitForm;
2 changes: 1 addition & 1 deletion src/reducers/display.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const updateBuilder = (builder: ReducerBuilder<AppState>) => builder
...state,
shotai,
}))

.case(displayActions.setXorMaskType, (state, xorMaskType) => ({
...state,
xorMaskType,
Expand Down
2 changes: 1 addition & 1 deletion src/shortcuts.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useDispatch } from 'react-redux';
import { useHotkeys }from 'react-hotkeys-hook';
import { useHotkeys } from 'react-hotkeys-hook';

import { selectActions } from './actions/select';
import { editorActions } from './actions/editor';
Expand Down

0 comments on commit 86c3703

Please sign in to comment.