mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-01-14 13:13:25 +01:00
[PR #35] [MERGED] Fix stroke glitches when rendering #53
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dscyrescotti/Memola/pull/35
Author: @dscyrescotti
Created: 5/22/2024
Status: ✅ Merged
Merged: 5/22/2024
Merged by: @dscyrescotti
Base:
main← Head:feature/stroke-generator📝 Commits (2)
e1d911ffeat: smooth out stroke using moving average algorithmc2b39babug: fix stroke glitching📊 Changes
7 files changed (+101 additions, -40 deletions)
View changed files
📝
Memola.xcodeproj/project.pbxproj(+12 -0)📝
Memola/App/MemolaApp.swift(+5 -0)📝
Memola/Canvas/Contexts/GraphicContext.swift(+2 -3)➕
Memola/Canvas/Geometries/Stroke/Algorithms/MovingAverage.swift(+40 -0)📝
Memola/Canvas/Geometries/Stroke/Generators/SolidPointStrokeGenerator.swift(+8 -14)📝
Memola/Canvas/Geometries/Stroke/Stroke.swift(+23 -20)📝
Memola/Features/Memo/Toolbar/Toolbar.swift(+11 -3)📄 Description
Description
This PR fixes stroke glitches when drawing strokes fast at minimum zoom level.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.