From 80746992f895c9e5c8e8dd27efaa409874a41cf0 Mon Sep 17 00:00:00 2001 From: portersky Date: Sat, 29 Aug 2026 14:04:18 +0200 Subject: [PATCH] fix: disable analog monitor animation Render stick and trigger progress values without implicit SwiftUI animation so rapid controller reports are not displayed as delayed movement. Co-Authored-By: openai/gpt-5.6-luna: removed analog display smoothing --- CMakeLists.txt | 2 +- src/app/main.swift | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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)