Skip to content

Conversation

@Stefterv
Copy link
Collaborator

@Stefterv Stefterv commented Mar 24, 2025

In an effort to make the PDE more modern feeling, I realised this morning that a big part of the issue is that the scrolling updates per line, not with the scroll wheel (mostly with smooth scrolling on macOS).

This change will make scrolling in the PDE fractional, meaning you can scroll 1/3 or a line or less if you want. It also increases the re-rendering frequency of scrolling updates.

Demo

Screen.Recording.2025-03-24.at.13.00.22.mov

Left to do

  • Fix an issue where the gutter is not drawn if you scroll fast enough
  • Fix an issue where some of the redrawing is not correct
  • Fix an issue where the user can overscroll the sketch (although this could also be a feature)
  • Horizontal smooth scrolling
  • Fix Scrolling by scrollbar
  • Implement dampening on Windows and Linux?

@Stefterv Stefterv marked this pull request as draft March 24, 2025 12:15
@Stefterv Stefterv closed this Feb 9, 2026
@SableRaf
Copy link
Collaborator

SableRaf commented Feb 9, 2026

Hi Stef, just checking to understand the closure. Was this mainly because the PR had gone stale, or were there specific technical concerns with the approach? Asking mainly so we have context if someone wants to revisit this topic in the future.

@Stefterv
Copy link
Collaborator Author

Stefterv commented Feb 9, 2026

It always was a PoC with a lot of ramifications. Looking at it with current knowledge it would break so many things and be hard to get right. A better approach would be to wait for a new TextArea

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.

2 participants