Skip to content

Drawing: the eraser keeps up in pen mode - #342

Merged
9retirement6irk merged 1 commit into
mainfrom
fix/eraser-repaint-less
Nov 23, 2026
Merged

9retirement6irk merged 1 commit into
mainfrom
fix/eraser-repaint-less

Conversation

@9retirement6irk

Copy link
Copy Markdown
Owner

A rubbed-out stroke's place (already only its rectangle) was sent as an ordinary update: on the Scribe with Fast ink, pen mode went off for each one and the next waited. Now DrawScreen:eraseShown draws the rectangle quietly (repaintArea's quiet mode), blits it to the screen and sends it as ink in pen mode (DU strips under 6000 px), leaving its greys for the pause; too big, under the controls, zoomed, queued or no pen mode: as before. Sketch:strokeBox takes the points' box from the eraser's hit index while it's right, so the place and the strokes crossing it no longer walk every point. Tests in run_tests.lua, sketch_test.lua and emulator/pen_mode.lua; wiki Notes; changelog next line.

Made with goose (AI agent).

A rubbed-out stroke's place (already only its rectangle) was sent as an ordinary update: on the Scribe with Fast ink, pen mode went off for each one and the next waited. Now DrawScreen:eraseShown draws the rectangle quietly (repaintArea's quiet mode), blits it to the screen and sends it as ink in pen mode (DU strips under 6000 px), leaving its greys for the pause; too big, under the controls, zoomed, queued or no pen mode: as before. Sketch:strokeBox takes the points' box from the eraser's hit index while it's right, so the place and the strokes crossing it no longer walk every point. Tests in run_tests.lua, sketch_test.lua and emulator/pen_mode.lua; wiki Notes; changelog next line.

Made with goose (AI agent).
@9retirement6irk 9retirement6irk added the beta Include in the beta branch (test builds over Wi-Fi) label Nov 21, 2026
github-actions Bot added a commit that referenced this pull request Nov 21, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 21, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 21, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
9retirement6irk added a commit that referenced this pull request Nov 21, 2026
Beta left #346 out: its tests went in after the same block as #342's and #343's. Moved up (above the split view tests), unchanged.

Made with goose (AI agent).
github-actions Bot added a commit that referenced this pull request Nov 21, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
9retirement6irk added a commit that referenced this pull request Nov 21, 2026
Beta left #343 out: its tests went in after the same block as #342's. Moved just above that block, unchanged.

Made with goose (AI agent).
github-actions Bot added a commit that referenced this pull request Nov 21, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 22, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 22, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 22, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 22, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 22, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 22, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 22, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 22, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 23, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 23, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 23, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 23, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 23, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
github-actions Bot added a commit that referenced this pull request Nov 23, 2026
# Conflicts:
#	plugins/gzreader.koplugin/gzreader_changelog.lua
@9retirement6irk
9retirement6irk merged commit 9d7f622 into main Nov 23, 2026
1 check passed
@9retirement6irk
9retirement6irk deleted the fix/eraser-repaint-less branch November 23, 2026 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beta Include in the beta branch (test builds over Wi-Fi)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant