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

Does paxmod have some way to get how many tabs are on each row from outside the extension? #51

Closed
jtagcat opened this issue Feb 15, 2020 · 1 comment
Labels

Comments

@jtagcat
Copy link

jtagcat commented Feb 15, 2020

So I'm soon forking an extension what prepends a tiny number for each tab (for use with Ctrl/Alt+num). As a new feature, selecting a row and then a tab within it would be 2 extensions of paxmod.
Can I somehow get what tab is in what row in what position of the row?

@numirias
Copy link
Owner

The tab sizing and wrapping is pure CSS, so the addon doesn't really know what tab is where. You could either determine positions with JS (however, this addon can't access the UI with JS, and I want to keep it that way), or, possibly, implement the flexbox sizing algorithm yourself and then calculate where a tab is supposed to be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants