79249921

Date: 2024-12-04 04:57:40
Score: 1.5
Natty:
Report link

what i analyse from your question. i found this solution.

I want to make my movable circle view aligned with the top and left side of the window.

struct CircleView: View {
    
    init(parentSize: CGSize) {
        self.parentSize = parentSize
        _currentOffset = State(initialValue:.zero) // just set this line to zero
        _lastOffset = _currentOffset
    }
}
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Starts with a question (0.5): what i
  • Low reputation (0.5):
Posted by: Om Sanatan