Skip to content

Comments

Add rectangle drawing tool#53

Open
Microck wants to merge 3 commits intomainfrom
feat/rect-tool
Open

Add rectangle drawing tool#53
Microck wants to merge 3 commits intomainfrom
feat/rect-tool

Conversation

@Microck
Copy link
Collaborator

@Microck Microck commented Feb 17, 2026

Description

Add a rectangle drawing tool accessible via key 4.

Type of Change

  • New feature (non-breaking change which adds functionality)

Changes Made

  • Add rectangle tool to tool selector with SVG icon
  • Implement rectangle drawing logic in pointer-events.js
  • Add cursor preview support in brush-helper.js
  • Style tool icon in tools.css

Testing

  • Tested in Firefox

Test Configuration:

  • OS: Windows 10
  • Browser: Firefox

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have tested my changes thoroughly

Related Issues

N/A

@Microck Microck force-pushed the feat/rect-tool branch 2 times, most recently from 9dae367 to e2b9411 Compare February 21, 2026 16:43
Includes keybindings for both line and rect tools to avoid merge conflicts with PR #52
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.

1 participant