Skip to content

Comments

Add line drawing tool#52

Open
Microck wants to merge 1 commit intomainfrom
feat/line-tool
Open

Add line drawing tool#52
Microck wants to merge 1 commit intomainfrom
feat/line-tool

Conversation

@Microck
Copy link
Collaborator

@Microck Microck commented Feb 17, 2026

Description

Add a dedicated line drawing tool accessible via key 3.

Type of Change

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

Changes Made

  • Add line tool to tool selector with SVG icon
  • Implement line 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 added a commit that referenced this pull request Feb 21, 2026
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