Skip to content

Commit 280a1e7

Browse files
committed
Add sensitivity headline
1 parent ad804f1 commit 280a1e7

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

app/lib/l10n/app_en.arb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,5 +242,7 @@
242242
}
243243
},
244244
"inputs": "Inputs",
245-
"scroll": "Scroll"
245+
"scroll": "Scroll",
246+
"sensitivity": "Sensitivity",
247+
"sensitivityHint": "The higher the value, the more sensitive the input"
246248
}

app/lib/pages/settings/input.dart

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,21 @@ class InputsSettingsPage extends StatelessWidget {
3131
child: Column(
3232
crossAxisAlignment: CrossAxisAlignment.stretch,
3333
children: [
34+
Padding(
35+
padding: settingsCardTitlePadding,
36+
child: Column(
37+
spacing: 8,
38+
crossAxisAlignment: CrossAxisAlignment.start,
39+
children: [
40+
Text(
41+
AppLocalizations.of(context).sensitivity,
42+
style: TextTheme.of(context).headlineSmall,
43+
),
44+
Text(AppLocalizations.of(context)
45+
.sensitivityHint),
46+
],
47+
),
48+
),
3449
ExactSlider(
3550
min: 10,
3651
max: 1000,

docs/astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import manifest from "./webmanifest.json";
88

99
// https://astro.build/config
1010
export default defineConfig({
11-
site: "https://butterfly.linwood.dev",
11+
site: "https://setonix.world",
1212
markdown: {
1313
remarkPlugins: [remarkHeadingID, remarkGemoji],
1414
},

0 commit comments

Comments
 (0)