[PR #27] [MERGED] Redesign pen tool of memo canvas view #50

Closed
opened 2025-12-29 05:19:18 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dscyrescotti/Memola/pull/27
Author: @dscyrescotti
Created: 5/19/2024
Status: Merged
Merged: 5/19/2024
Merged by: @dscyrescotti

Base: mainHead: feature/pen-tool


📝 Commits (10+)

  • 3204328 feat: redesign pen tool dock
  • 4701eac feat: add pen tool persistence
  • 821b34e feat: add reordering and deleting
  • 4bf603a feat: add vertex generator in eraser render pass
  • 682fbbd feat: scroll to new added pen
  • 5a9b9d6 feat: add duplicate and remove button
  • 5d38f33 feat: add scroll transition
  • ce3a021 feat: update pen dock layout
  • 0c03abe feat: add color picker
  • 23ce307 feat: add tiny border to color preview

📊 Changes

51 files changed (+1137 additions, -188 deletions)

View changed files

📝 Memola.xcodeproj/project.pbxproj (+118 -17)
📝 Memola/Canvas/Contexts/GraphicContext.swift (+1 -1)
📝 Memola/Canvas/RenderPasses/EraserRenderPass.swift (+30 -0)
Memola/Canvas/Tool/Core/Tool.swift (+109 -0)
📝 Memola/Canvas/Tool/Pen/Core/Pen.swift (+38 -20)
📝 Memola/Canvas/Tool/Pen/Core/PenStyle.swift (+13 -1)
📝 Memola/Canvas/Tool/Pen/PenStyles/EraserPenStyle.swift (+3 -1)
📝 Memola/Canvas/Tool/Pen/PenStyles/MarkerPenStyle.swift (+3 -1)
Memola/Canvas/Tool/Tool.swift (+0 -27)
📝 Memola/Canvas/View/Bridge/ViewController/CanvasViewController.swift (+1 -0)
📝 Memola/Canvas/View/Canvas/CanvasView.swift (+0 -0)
Memola/Components/ViewModifiers/ContextMenuViewModifier.swift (+30 -0)
Memola/Components/ViewModifiers/OnDragViewModifier.swift (+30 -0)
Memola/Components/Views/ColorPicker/ColorPicker.swift (+196 -0)
Memola/Config/Info.plist (+51 -0)
📝 Memola/Extensions/Color++.swift (+12 -0)
📝 Memola/Features/Memo/Memo/MemoView.swift (+12 -13)
Memola/Features/Memo/PenDock/PenDockView.swift (+297 -0)
Memola/Features/Memo/PenDock/PenDropDelegate.swift (+40 -0)
Memola/Features/Memo/PenToolView.swift (+0 -82)

...and 31 more files

📄 Description

Description

This PR redesign the pen tool of canvas view along with the addition of color picker and stroke thickness picker.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dscyrescotti/Memola/pull/27 **Author:** [@dscyrescotti](https://github.com/dscyrescotti) **Created:** 5/19/2024 **Status:** ✅ Merged **Merged:** 5/19/2024 **Merged by:** [@dscyrescotti](https://github.com/dscyrescotti) **Base:** `main` ← **Head:** `feature/pen-tool` --- ### 📝 Commits (10+) - [`3204328`](https://github.com/dscyrescotti/Memola/commit/3204328e5e4778598e5aa7c5fd7cdfe84b864e79) feat: redesign pen tool dock - [`4701eac`](https://github.com/dscyrescotti/Memola/commit/4701eac3ba82c8031c842b134a334dad2ffe78b5) feat: add pen tool persistence - [`821b34e`](https://github.com/dscyrescotti/Memola/commit/821b34e1589633ceacb4d98905dac0187882874e) feat: add reordering and deleting - [`4bf603a`](https://github.com/dscyrescotti/Memola/commit/4bf603a4051bee83b28cf9e6d4d10560d090e35a) feat: add vertex generator in eraser render pass - [`682fbbd`](https://github.com/dscyrescotti/Memola/commit/682fbbd5b4a719cd66da89b37f58d0691bd8a20c) feat: scroll to new added pen - [`5a9b9d6`](https://github.com/dscyrescotti/Memola/commit/5a9b9d60c618a806adf1fb0c96da3157ebf27c85) feat: add duplicate and remove button - [`5d38f33`](https://github.com/dscyrescotti/Memola/commit/5d38f33285b88932b3ff5bf9d0a7c074a311ae55) feat: add scroll transition - [`ce3a021`](https://github.com/dscyrescotti/Memola/commit/ce3a021569fe86de7f559c32818dc943c39a1841) feat: update pen dock layout - [`0c03abe`](https://github.com/dscyrescotti/Memola/commit/0c03abee4ee63155c122be0bc268b0640000ff80) feat: add color picker - [`23ce307`](https://github.com/dscyrescotti/Memola/commit/23ce30731cc8c50555a1470c1be7bc47af254a39) feat: add tiny border to color preview ### 📊 Changes **51 files changed** (+1137 additions, -188 deletions) <details> <summary>View changed files</summary> 📝 `Memola.xcodeproj/project.pbxproj` (+118 -17) 📝 `Memola/Canvas/Contexts/GraphicContext.swift` (+1 -1) 📝 `Memola/Canvas/RenderPasses/EraserRenderPass.swift` (+30 -0) ➕ `Memola/Canvas/Tool/Core/Tool.swift` (+109 -0) 📝 `Memola/Canvas/Tool/Pen/Core/Pen.swift` (+38 -20) 📝 `Memola/Canvas/Tool/Pen/Core/PenStyle.swift` (+13 -1) 📝 `Memola/Canvas/Tool/Pen/PenStyles/EraserPenStyle.swift` (+3 -1) 📝 `Memola/Canvas/Tool/Pen/PenStyles/MarkerPenStyle.swift` (+3 -1) ➖ `Memola/Canvas/Tool/Tool.swift` (+0 -27) 📝 `Memola/Canvas/View/Bridge/ViewController/CanvasViewController.swift` (+1 -0) 📝 `Memola/Canvas/View/Canvas/CanvasView.swift` (+0 -0) ➕ `Memola/Components/ViewModifiers/ContextMenuViewModifier.swift` (+30 -0) ➕ `Memola/Components/ViewModifiers/OnDragViewModifier.swift` (+30 -0) ➕ `Memola/Components/Views/ColorPicker/ColorPicker.swift` (+196 -0) ➕ `Memola/Config/Info.plist` (+51 -0) 📝 `Memola/Extensions/Color++.swift` (+12 -0) 📝 `Memola/Features/Memo/Memo/MemoView.swift` (+12 -13) ➕ `Memola/Features/Memo/PenDock/PenDockView.swift` (+297 -0) ➕ `Memola/Features/Memo/PenDock/PenDropDelegate.swift` (+40 -0) ➖ `Memola/Features/Memo/PenToolView.swift` (+0 -82) _...and 31 more files_ </details> ### 📄 Description ### Description This PR redesign the pen tool of canvas view along with the addition of color picker and stroke thickness picker. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 05:19:18 +01:00
adam closed this issue 2025-12-29 05:19:18 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Memola#50