diff --git a/CMakeLists.txt b/CMakeLists.txt index ed74616..389ce14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ if(NOT CMAKE_GENERATOR MATCHES "^(Ninja|Xcode)$") endif() cmake_minimum_required(VERSION 3.21) -project(xone_macos VERSION 0.1.15 LANGUAGES CXX Swift) +project(xone_macos VERSION 0.1.16 LANGUAGES CXX Swift) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) diff --git a/src/app/main.swift b/src/app/main.swift index 9aaf177..b16b797 100644 --- a/src/app/main.swift +++ b/src/app/main.swift @@ -292,6 +292,7 @@ struct ContentView: View { .frame(width: 12, alignment: .leading) ProgressView(value: normalized) .frame(width: 82) + .animation(nil, value: normalized) Text("\(value)") .font(.caption2.monospacedDigit()) .frame(width: 42, alignment: .trailing) @@ -305,6 +306,7 @@ struct ContentView: View { .frame(width: 76, alignment: .leading) ProgressView(value: Double(value), total: 1023) .frame(width: 70) + .animation(nil, value: value) Text("\(value)") .font(.caption2.monospacedDigit()) .frame(width: 32, alignment: .trailing)