Skip to content

Add VerticalDiameterSlider - #254

Merged
eisukekusachi merged 2 commits into
mainfrom
feature/vertical-diameter-slider
Oct 8, 2026
Merged

eisukekusachi merged 2 commits into
mainfrom
feature/vertical-diameter-slider

Conversation

@eisukekusachi

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Compact-height layout and accessibility issues remain unresolved.

2 open findings
What changed in this PR

Replaces UIKit diameter sliders with shared SwiftUI controls bound directly to the drawing-tool model.

Changes:

  • Adds vertical sliders with numeric values and steppers for brush and eraser diameters.
  • Updates hosting, outlets, layout, and project registration.
File Description
HandDrawingSwiftMetal/​Views/​Components/​VerticalDiameterSlider/​VerticalDiameterSlider.swift Adds the reusable diameter control.
HandDrawingSwiftMetal/​Views/​Components/​VerticalDiameterSlider/​EraserVerticalDiameterSlider.swift Adds the eraser wrapper.
HandDrawingSwiftMetal/​Views/​Components/​VerticalDiameterSlider/​BrushVerticalDiameterSlider.swift Adds the brush wrapper.
HandDrawingSwiftMetal/​Models/​DrawingTools/​DrawingTool.swift Simplifies header comments only.
HandDrawingSwiftMetal/​HandDrawingViewController.swift Hosts SwiftUI controls with model bindings.
HandDrawingSwiftMetal/​HandDrawingContentView.xib Replaces sliders with hosting containers.
HandDrawingSwiftMetal/​HandDrawingContentView.swift Updates outlets and removes legacy slider callbacks.
HandDrawingSwiftMetal.xcodeproj/​project.pbxproj Registers the new Swift files.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

@eisukekusachi
eisukekusachi marked this pull request as ready for review October 8, 2026 16:41
@eisukekusachi
eisukekusachi merged commit 7e2b7a0 into main Oct 8, 2026
1 check passed
@eisukekusachi
eisukekusachi deleted the feature/vertical-diameter-slider branch October 8, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants