Skip to content

Commit

Permalink
Progress bar shows the progress stepwise and incorrectly #1196 (#1203)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vassiliy-Kudryashov authored Oct 21, 2022
1 parent 80a962b commit c5532c8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ object UtTestsDialogProcessor {
private val logger = KotlinLogging.logger {}

enum class ProgressRange(val from : Double, val to: Double) {
SOLVING(from = 0.0, to = 0.7),
CODEGEN(from = 0.7, to = 0.9),
SARIF(from = 0.9, to = 1.0)
SOLVING(from = 0.0, to = 0.9),
CODEGEN(from = 0.9, to = 0.95),
SARIF(from = 0.95, to = 1.0)
}

fun updateIndicator(indicator: ProgressIndicator, range : ProgressRange, text: String? = null, fraction: Double? = null) {
Expand Down

0 comments on commit c5532c8

Please sign in to comment.