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
This commit is contained in:
portersky
2026-08-29 15:05:38 +02:00
parent 823b4f22d2
commit 8d6672f43d
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ if(NOT CMAKE_GENERATOR MATCHES "^(Ninja|Xcode)$")
endif() endif()
cmake_minimum_required(VERSION 3.21) 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) set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
+1 -2
View File
@@ -18,8 +18,7 @@ struct DPadView: View {
cellView(.dPadUp) cellView(.dPadUp)
HStack(spacing: gap) { HStack(spacing: gap) {
cellView(.dPadLeft) cellView(.dPadLeft)
RoundedRectangle(cornerRadius: 6) Color.clear
.fill(Color.secondary.opacity(0.28))
.frame(width: cell, height: cell) .frame(width: cell, height: cell)
cellView(.dPadRight) cellView(.dPadRight)
} }