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

Support for adjusting the size and position of the canvas (支持调整画布的大小, 位置) #6

Open
ghost opened this issue Jul 15, 2023 · 4 comments
Labels
计划中 | enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Jul 15, 2023

是这样, 有一些卡片是有互动的功能的, 比如音频按钮.
但是当我尝试点击按钮时却发现我只是在画布上面点了个点.

如果支持调整画布的大小位置(我的意思是说, 在选定的范围内才能写字, 超出这个范围就不能写字),
那么我就不用频繁地将画笔按钮一遍又一遍地按下了.

"The thing is that some cards have interactive features, such as audio buttons. However, when I try to click the button, I realize that I'm just clicking on the canvas.

If there is support for adjusting the size and position of the canvas (what I mean is that I can only write within a selected range, and I can't write outside of this range), then I don't have to repeatedly press the pen button over and over again."

@LeoWang2007
Copy link
Owner

LeoWang2007 commented Jul 16, 2023

Because the canvas is made with Html5, I don‘t know how to transfer data to the software.
But I can add a setting on the menu to size and position of the canvas. Like this:
+---------------------------------------------------------------------+
|   Top distance: [ ___________ ]        Left distance: [ ___________ ]       |
|   Width: [ ___________ ]                  Height: [ ___________ ]                 |
+---------------------------------------------------------------------+
Do you mind?

@ghost
Copy link
Author

ghost commented Jul 18, 2023

Nice

@LeoWang2007 LeoWang2007 added the 计划中 | enhancement New feature or request label Sep 27, 2023
@LeoWang2007
Copy link
Owner

Sorry, I'm to busy beacuse of becoming a member of the school training team, recently I find a new addon can solve your problem. https://github.com/Rytisgit/Anki-StylusDraw
Sorry for letting down your trust...

@LeoWang2007
Copy link
Owner

See the readme
图片

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
计划中 | enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant