Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard Button #1

Merged
merged 2 commits into from
May 28, 2024
Merged

Keyboard Button #1

merged 2 commits into from
May 28, 2024

Conversation

colbster937
Copy link
Contributor

When I first tried this out i found it hard to actually add servers and name yourself so I added keyboard button
Screenshot

Copy link
Owner

@FlamedDogo99 FlamedDogo99 left a comment

Choose a reason for hiding this comment

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

There’s one issue before I merge: you are currently reverting the mouse events script to not include scrolling functionality. Is there a reason for this?

@@ -210,7 +219,10 @@ function insertCanvasElements() {
}
e.movementX = touch.pageX - previousX;
e.movementY = touch.pageY - previousY;
var evt = window.fakelock ? new MouseEvent("mousemove", {movementX: e.movementX, movementY: e.movementY}) : new WheelEvent("wheel", {"wheelDeltaY": e.movementY});
Copy link
Owner

Choose a reason for hiding this comment

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

This allows scrolling to work in menus, is there a reason this was removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh i didn't realize

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No that should be added back

Copy link
Owner

Choose a reason for hiding this comment

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

Everything else besides that looks good. Good thinking with adding the mobile warning.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added it back in to the script

@FlamedDogo99 FlamedDogo99 merged commit 7bde006 into FlamedDogo99:main May 28, 2024
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