summaryrefslogtreecommitdiff
path: root/apps/web/src/components/background-settings.tsx
diff options
context:
space:
mode:
authorBrandon McConnell <brandon@dreamthinkbuild.com>2025-07-30 15:05:03 -0400
committerBrandon McConnell <brandon@dreamthinkbuild.com>2025-07-30 15:05:03 -0400
commite3ecf4855a9dea317f4823bf1840703de7ec3f67 (patch)
tree38ec422724ea3c12162fc4f6e29b3db2fba04bee /apps/web/src/components/background-settings.tsx
parentdbc1d2e1a3fc5a87b196f40d9c40ee29548d5264 (diff)
downloadopencut-e3ecf4855a9dea317f4823bf1840703de7ec3f67.tar.gz
Correct `blur-sm` ➞ `blur`
Diffstat (limited to 'apps/web/src/components/background-settings.tsx')
-rw-r--r--apps/web/src/components/background-settings.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/web/src/components/background-settings.tsx b/apps/web/src/components/background-settings.tsx
index 2a5a3ac0..7e27e574 100644
--- a/apps/web/src/components/background-settings.tsx
+++ b/apps/web/src/components/background-settings.tsx
@@ -7,7 +7,7 @@ import { colors } from "@/data/colors";
import { useProjectStore } from "@/stores/project-store";
import { PipetteIcon } from "lucide-react";
-type BackgroundTab = "color" | "blur-sm";
+type BackgroundTab = "color" | "blur";
export function BackgroundSettings() {
const { activeProject, updateBackgroundType } = useProjectStore();
@@ -20,7 +20,7 @@ export function BackgroundSettings() {
};
const handleBlurSelect = (blurIntensity: number) => {
- updateBackgroundType("blur-sm", { blurIntensity });
+ updateBackgroundType("blur", { blurIntensity });
};
const tabs = [
@@ -30,7 +30,7 @@ export function BackgroundSettings() {
},
{
label: "Blur",
- value: "blur-sm",
+ value: "blur",
},
];
@@ -60,7 +60,7 @@ export function BackgroundSettings() {
activeProject?.backgroundColor || "#000000",
});
} else {
- updateBackgroundType("blur-sm", {
+ updateBackgroundType("blur", {
blurIntensity: activeProject?.blurIntensity || 8,
});
}