Skip to content

implement relative precision mode#45

Open
vale981 wants to merge 4 commits into
X9VoiD:masterfrom
vale981:relative_precision_mode
Open

implement relative precision mode#45
vale981 wants to merge 4 commits into
X9VoiD:masterfrom
vale981:relative_precision_mode

Conversation

@vale981
Copy link
Copy Markdown

@vale981 vale981 commented Jan 27, 2024

This implements an emulation of the "Relative" output method when the increased precision mode is enabled. When binding the precision mode one can choose whether the absolute (hitherto implemented) or relative mode is used.

I found this supremely useful when writing notes with xournalpp as I would often hit the edge of the tablet fairly soon when precision mode was activated. Now, I can just lift the pen and continue on the top left corner :).

Hopefully my little "hack" is now polished enough for upstreaming.

I also made the precision multiplier configurable per-binding so that one can have multiple precision levels to choose from.

Cheers,
Valentin

@vale981 vale981 force-pushed the relative_precision_mode branch from 439b038 to 2c5fd48 Compare January 27, 2024 23:53
@vale981
Copy link
Copy Markdown
Author

vale981 commented Mar 15, 2024

Howdie! Is there any hope of merging this?

@vale981
Copy link
Copy Markdown
Author

vale981 commented Feb 11, 2025

:)

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.

1 participant