mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
Document why we set endTime to the current date initially
Contributes to issue CURA-3161.
This commit is contained in:
parent
d3d36d47eb
commit
d705fb1d76
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ Column
|
|||
running: false
|
||||
repeat: true
|
||||
onTriggered: update()
|
||||
property var endTime: new Date()
|
||||
property var endTime: new Date() //Set initial endTime to be the current date, so that the endTime has initially already passed and the timer text becomes invisible if you were to update.
|
||||
function update()
|
||||
{
|
||||
var now = new Date();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue