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

how to change position of heatmap #198

Open
2 of 3 tasks
namelless opened this issue Oct 11, 2024 · 0 comments
Open
2 of 3 tasks

how to change position of heatmap #198

namelless opened this issue Oct 11, 2024 · 0 comments
Labels
question Further information is requested

Comments

@namelless
Copy link

namelless commented Oct 11, 2024

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've checked if anyone else asked this question before by looking through the issue reports.

I have multiple items on my decks window to using multiple addons and was wondering if there was a way I could use to change in what place the heatmap appeared so that it becomes beneath something or higher than it

for reference here is the code that adds stuff in the other addon
def add_btn_js(
web_content: WebContent, context: object | None) -> None:
if not isinstance(context, DeckBrowser):
return
cwd = os.path.dirname(file)
path = os.path.join(cwd, "assets", "ui","Farm.gif")
base64_image = image_to_base64(path)
web_content.body += get_html(base64_image, "start_streak")

whenever I want to add another item I just add it before or after this however when I placed the heatmap addon inside the other addon project and imported it in it no matter on what line I import it is always on top is there a way to change it
thanks for your help in advance and I apologize for the weird question

@namelless namelless added the question Further information is requested label Oct 11, 2024
@namelless namelless changed the title Further customization inquiries how to change position of heatmap Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant