Bug Report

Resolved 💬 4 comments Opened Oct 20, 2025 by macOS26 Closed Jan 10, 2026

Bug Description

⏺ Perfect! Now the gradient centerpoint tool uses @State bindings for live updates:

  1. @State variables (liveGradientOriginX and liveGradientOriginY) in DrawingCanvas
  2. During drag: Only these @State variables are updated - instant local feedback
  3. The gradient centerpoint reads from these live values to show its position
  4. The shape's gradient rendering uses these live values to show the gradient preview
  5. On drag end: The document is updated and live state is cleared

The gradient will now update LIVE as you drag the centerpoint tool on the canvas!

it still does not update during drag... are you not using the state variable? are you not

updating the local gradient during drag? [Image #1]

⏺ You're right - the gradient itself is not updating during drag! The centerpoint tool position
updates, but the gradient fill doesn't. Let me check if the live state is being applied to the
correct shape. The issue is that we're only applying the live gradient to selected shapes, but I
need to make sure it's actually being applied.
⎿ API Error: Claude Code is unable to respond to this request, which appears to violate our Usage
Policy (https://www.anthropic.com/legal/aup). Please double press esc to edit your last message or
start a new session for Claude Code to assist with a different task. If you are seeing this refusal
repeatedly, try running /model claude-sonnet-4-20250514 to switch models.

/exit

⎿  Catch you later!

I have stated nothing wrong. I can't tell Claude Code what it didn't do?

Very close to going back to Cursor. Not kidding. These API errors are without merit.

────────

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.22
  • Feedback ID:

Errors

[{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth authentication is currently not supported.\"},\"request_id\":\"req_011CUGxkN39JQKaWAdoYCEnB\"}\n    at E4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:203:83082)\n    at Jy.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:2117)\n    at Jy.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:5330)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async BTQ.Ao1.model (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3310:18707)\n    at async Ao1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2650:39781)\n    at async BTQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3310:18875)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3310:12822\n    at async ba0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3310:4494)\n    at async Nm (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3310:12793)","timestamp":"2025-10-19T17:36:21.087Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth authentication is currently not supported.\"},\"request_id\":\"req_011CUGxkNHmt3cwGEdACS41p\"}\n    at E4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:203:83082)\n    at Jy.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:2117)\n    at Jy.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:5330)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async BTQ.Ao1.model (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3310:18707)\n    at async Ao1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2650:39781)\n    at async BTQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3310:18875)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3310:12822\n    at async ba0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3310:4494)\n    at async Nm (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3310:12793)","timestamp":"2025-10-19T17:36:21.113Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth authentication is currently not supported.\"},\"request_id\":\"req_011CUGxkW3bmz2j4Bt2GcGHx\"}\n    at E4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:203:83082)\n    at Jy.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:2117)\n    at Jy.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:5330)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async BTQ.Ao1.model (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3310:18707)\n    at async Ao1 (file:///op

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗