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:
+1
-1
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user