Skip to content

Fix clipboard line limit check on external update and other refactoring#10406

Open
antessial wants to merge 3 commits into
Creators-of-Create:mc1.21.1/devfrom
antessial:fix_clipboard_external_update
Open

Fix clipboard line limit check on external update and other refactoring#10406
antessial wants to merge 3 commits into
Creators-of-Create:mc1.21.1/devfrom
antessial:fix_clipboard_external_update

Conversation

@antessial

Copy link
Copy Markdown

Should fix #10394, also refactored text height calculation a bit, now it only has two main (server-side and client-side) versions and should work more consistently. Also some other lesser improvements, such as keeping the icons when copying the clipboard content (maybe there are such issues, didn't search for them)

ASSUMED_CHARACTER_WIDTH being equal to 8 is discussable, might lower it to 6, 8 is pessimistic and should be a maximum character width for a default font

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.

If you Copy a Detailed Clipboard, the words will pass through the clipboard

1 participant