aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/progress
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/progress')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/progress/ProgressIndicator.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/progress/ProgressIndicator.kt b/src/main/kotlin/pl/treksoft/kvision/progress/ProgressIndicator.kt
index 479ad62e..256d15d7 100644
--- a/src/main/kotlin/pl/treksoft/kvision/progress/ProgressIndicator.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/progress/ProgressIndicator.kt
@@ -67,15 +67,15 @@ internal class ProgressIndicator(
/**
* The current progress.
*/
- var progress by refreshOnUpdate(progress, { refreshWidth() })
+ var progress by refreshOnUpdate(progress) { refreshWidth() }
/**
* The minimal progress.
*/
- var min by refreshOnUpdate(min, { refreshWidth() })
+ var min by refreshOnUpdate(min) { refreshWidth() }
/**
* The maximal progress.
*/
- var max by refreshOnUpdate(max, { refreshWidth() })
+ var max by refreshOnUpdate(max) { refreshWidth() }
/**
* The style of the progress indicator.
*/