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

Pattern grid cannot be scrolled horizontally #21

Open
ISSOtm opened this issue Jul 10, 2024 · 1 comment
Open

Pattern grid cannot be scrolled horizontally #21

ISSOtm opened this issue Jul 10, 2024 · 1 comment
Labels
bug Something isn't working trackerboy relating to the trackerboy front end

Comments

@ISSOtm
Copy link
Contributor

ISSOtm commented Jul 10, 2024

Bug description

If the tracker is resized to be too small for the pattern grid, then it's impossible to scroll the view horizontally, and the rightmost channel(s) are inaccessible. The scrollbar moves the cursor, but it goes off-screen:

Screenshot with the cursor all the way left
Screenshot with the cursor partially off-screen

How to reproduce

  1. Shrink the tracker window horizontally

Information

  • OS: Arch Linux
  • Architecture: x86_64
  • Trackerboy version: 0.6.5 (08753de)
@stoneface86
Copy link
Owner

Yeah the pattern editor and header definitely need to be aware of the viewport. Currently it just assumes there's enough room to draw the whole pattern which results in clipping when that is not the case as shown by the example above.

I think keeping the row numbers "frozen" is a good idea, such that they're always drawn. We can change it so that if say only 3 tracks can fit in the control and the cursor is on CH2 (or CH3, CH4), then only CH2, CH3 and CH4 is drawn.

@stoneface86 stoneface86 added bug Something isn't working trackerboy relating to the trackerboy front end labels Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working trackerboy relating to the trackerboy front end
Projects
None yet
Development

No branches or pull requests

2 participants