Skip to content

Textbox issue(s) #56

Description

@anoukmxller-bit

Love the new text writing option!! However when I click to start a text, the Line starts on the bottom right to where I clicked.. which makes it a little annoying if you want to start and end two seperate text boxes or write information below a text box. Could be because I use Macbook.
I couldn't find the issue in the code. Anyone have a fix?

Also not really an issue more of a request if you plan to continue the textbox function:
the shortcut key to opening and closing AnkiDraw as a comma isn't very practical, neither "." for deleting the entire canvas. But these are minor issues that can be removed in the code by oneself.

Fix for Comma:
Replace

// ,
if (e.key === ",") {
    switch_visibility();
}

with

// ,
if (false && e.key === ",") {
    switch_visibility();
}

or if you want a different shortcut

// ,
if (e.key === "," && e.ctrlKey) {
    switch_visibility();
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions