From 8d6672f43d4e4027c92a325c48af8884816e1965 Mon Sep 17 00:00:00 2001 From: portersky Date: Sat, 29 Aug 2026 15:05:38 +0200 Subject: [PATCH] fix: drop the D-pad center square Render a clear gap instead of the plain center cell so the D-pad reads as an open cross. Co-Authored-By: qwen3.8-27b@q3_k_xl: removed the D-pad center cell --- CMakeLists.txt | 2 +- src/app/GamepadViews.swift | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9dd094f..b7bf202 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.24 LANGUAGES CXX Swift) +project(xone_macos VERSION 0.1.25 LANGUAGES CXX Swift) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) diff --git a/src/app/GamepadViews.swift b/src/app/GamepadViews.swift index 90f894b..6d8a813 100644 --- a/src/app/GamepadViews.swift +++ b/src/app/GamepadViews.swift @@ -18,8 +18,7 @@ struct DPadView: View { cellView(.dPadUp) HStack(spacing: gap) { cellView(.dPadLeft) - RoundedRectangle(cornerRadius: 6) - .fill(Color.secondary.opacity(0.28)) + Color.clear .frame(width: cell, height: cell) cellView(.dPadRight) }