Skip to content

Commit 82218fb

Browse files
Fix : Save attempts were being delayed 3 seconds
Debouncer wasn't correctly settling when quiet, because I didn't pass the modified command object back to the updated model/cmds.
1 parent f0ef07f commit 82218fb

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
All notable changes to this project will be documented in this file.
33
"Unreleased" changes are implemented but haven't been released yet.
44

5+
## [2.4.7] - 2019-12-19
6+
- Fix : Every second save attempt is delayed 3 seconds
7+
58
## [2.4.6] - 2019-12-03
69
- Checkboxes added
710
- Fix : Errors on clicking links in help docs

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gingko-client",
33
"productName": "Gingko",
4-
"version": "2.4.6",
4+
"version": "2.4.7",
55
"description": "Gingko client rewritten in Elm, packaged with Electron.",
66
"repository": {
77
"type": "git",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gingko-client",
33
"productName": "Gingko",
4-
"version": "2.4.6",
4+
"version": "2.4.7",
55
"description": "Gingko client rewritten in Elm, packaged with Electron.",
66
"repository": {
77
"type": "git",

src/elm/Main.elm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ update msg ({ objects, workingTree, status } as model) =
440440
case emitted_ of
441441
Just () ->
442442
( updatedModel
443-
, sendOut CommitWithTimestamp
443+
, Cmd.batch [ sendOut CommitWithTimestamp, mappedCmd ]
444444
)
445445

446446
Nothing ->

0 commit comments

Comments
 (0)