From 6abf96aa0bd19e25845e00b1805be3b17c4e253c Mon Sep 17 00:00:00 2001 From: Thomas Ebert Date: Sun, 29 Nov 2020 14:03:34 +0100 Subject: [PATCH] =?UTF-8?q?Time=20entries=20=E2=80=93=20Allow=20more=200.0?= =?UTF-8?q?1=20step=20entries=20instead=20of=200.25=20to=20allow=20for=20m?= =?UTF-8?q?ore=20flexibility.=20Addresses=20#9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/bundle.js | 4 ++-- js/views/QuickAdd.svelte | 2 +- js/views/TimeEditor.svelte | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/bundle.js b/js/bundle.js index 2865037..a11b9aa 100644 --- a/js/bundle.js +++ b/js/bundle.js @@ -9835,7 +9835,7 @@ input0.autofocus = true; attr(input0, "type", "number"); attr(input0, "name", "duration"); - attr(input0, "step", "0.25"); + attr(input0, "step", "0.01"); attr(input0, "placeholder", ""); set_style(input0, "width", "100%"); attr(input0, "class", "input-wide"); @@ -15865,7 +15865,7 @@ html_tag = new HtmlTag(t3); attr(input1, "type", "number"); attr(input1, "name", "duration"); - attr(input1, "step", "0.25"); + attr(input1, "step", "0.01"); attr(input1, "placeholder", ""); attr(input1, "class", "duration-input"); attr(input2, "type", "date"); diff --git a/js/views/QuickAdd.svelte b/js/views/QuickAdd.svelte index 77d98a3..dd2e817 100644 --- a/js/views/QuickAdd.svelte +++ b/js/views/QuickAdd.svelte @@ -91,7 +91,7 @@ diff --git a/js/views/TimeEditor.svelte b/js/views/TimeEditor.svelte index f1cfce7..71488ec 100644 --- a/js/views/TimeEditor.svelte +++ b/js/views/TimeEditor.svelte @@ -31,7 +31,7 @@ autofocus type="number" name="duration" - step="0.25" + step="0.01" placeholder="" style="width: 100%" class="input-wide"