Skip to content

Commit 8d57bdf

Browse files
committed
Fixed Lint Formatting
Signed-off-by: SplinterSword <sparshj2003@gmail.com>
1 parent 71f7072 commit 8d57bdf

File tree

1 file changed

+7
-7
lines changed
  • site/src/components/ShapeBuilder

1 file changed

+7
-7
lines changed

site/src/components/ShapeBuilder/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const ShapeBuilder = () => {
6767

6868
const points = getPlottedPoints(poly);
6969
if (!points || points.length === 0) return;
70-
70+
7171
if (!basePointsRef.current) {
7272
basePointsRef.current = points;
7373
}
@@ -92,10 +92,10 @@ const ShapeBuilder = () => {
9292
const handleScaleChange = (newScale) => {
9393
const clampedScale = Math.max(MIN_SCALE, Math.min(MAX_SCALE, newScale));
9494
setScale(clampedScale);
95-
95+
9696
const matchingPreset = SCALE_PRESETS.find(p => Math.abs(p - clampedScale) < 0.01);
9797
setCurrentPreset(matchingPreset || clampedScale);
98-
98+
9999
applyScale(clampedScale);
100100
};
101101

@@ -250,7 +250,7 @@ const ShapeBuilder = () => {
250250
<Box sx={{ display: "flex", justifyContent: "center", alignItems: "center", gap: 2, mt: 3, mb: 3, flexWrap: "wrap" }}>
251251
<Button variant="contained" onClick={clearShape}>Clear</Button>
252252
<Button variant="contained" onClick={closeShape}>Close Shape</Button>
253-
253+
254254
<Box sx={{ display: "flex", alignItems: "center", gap: 1.5, ml: 2 }}>
255255
<FormControl size="small" sx={{ minWidth: 80 }}>
256256
<Select
@@ -260,9 +260,9 @@ const ShapeBuilder = () => {
260260
displayEmpty
261261
aria-label="Scale preset"
262262
sx={{
263-
color: '#fff',
264-
'& .MuiSelect-icon': {
265-
color: '#fff'
263+
color: "#fff",
264+
"& .MuiSelect-icon": {
265+
color: "#fff"
266266
}
267267
}}
268268
>

0 commit comments

Comments
 (0)