Skip to content

Make hyperbezier canvas responsive - #150

Merged
raphlinus merged 1 commit into
linebender:mainfrom
oinoom:agent/hyperbezier-mobile-canvas
Aug 15, 2026
Merged

Make hyperbezier canvas responsive#150
raphlinus merged 1 commit into
linebender:mainfrom
oinoom:agent/hyperbezier-mobile-canvas

Conversation

@oinoom

@oinoom oinoom commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Read this on hacker news, great article!

On mobile, the images seemed to bleed off the edge of my screen, so I thought I’d contribute a little ptch to improve things.

To explain why these are the changes they are: CSS alone would fix the visual overflow but break dragging. JavaScript alone would preserve dragging but leave the overflow.

before:

IMG_1661

after:

IMG_1662

CSS alone would fix the visual overflow but break dragging.
JavaScript alone would preserve dragging but leave the overflow.
@DJMcNab
DJMcNab requested a review from raphlinus August 15, 2026 22:56

@raphlinus raphlinus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, I'm glad you followed up with this. I was thinking about making it work better on mobile but just didn't hassle with it at the time. Let's merge this and then if there are any problems, we'll take them as a followup.

@raphlinus
raphlinus merged commit 18232b1 into linebender:main Aug 15, 2026
2 checks passed
@oinoom
oinoom deleted the agent/hyperbezier-mobile-canvas branch August 15, 2026 23:56
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