Skip to content

Commit

Permalink
fix: text setting title (#5155)
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 authored Jan 2, 2025
1 parent d95742c commit 264e9bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-theme/src/routes/clickgui/setting/TextSetting.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import {createEventDispatcher} from "svelte";
import type {ModuleSetting, TextSetting,} from "../../../integration/types";
import {processPascalCaseName, spaceSeperatedNames} from "../../../theme/theme_config";
import {processPascalCaseName} from "../../../theme/theme_config";
export let setting: ModuleSetting;
Expand All @@ -16,7 +16,7 @@
</script>

<div class="setting">
<div class="name">{processPascalCaseName}</div>
<div class="name">{processPascalCaseName(cSetting.name)}</div>
<input type="text" class="value" spellcheck="false"
placeholder={processPascalCaseName(setting.name)}
bind:value={cSetting.value} on:input={handleChange}>
Expand Down

0 comments on commit 264e9bd

Please sign in to comment.