JoepVanlier / Hackey-Patterns

A LUA sequencer plugin for REAPER 5.x and up. Designed to mimick the pattern editor in Jeskola Buzz.
MIT License
9 stars 0 forks source link

Color highlighting in first column, is not always correct, when scrolling beyond first window length #12

Closed michaelsjackson closed 6 years ago

michaelsjackson commented 6 years ago

After scrolling to second and higher pages of excel table, something goes wrong with the color highlighting of first column, where each 4th row gets a different color emphasis.

I recognize this often, when I look to those colors for pattern placement, to discover later they are not all starting at bar positions, which they should...

michaelsjackson commented 6 years ago

First row is always highlighted, which is correct for starting position (line 0), but if you scroll further, until first line is 16, then this line 16 also gets highlighted, I think this is the source of the problem.

if (first_line_number modulo 64 is zero)
   then do first column highlighting

could do the trick.

JoepVanlier commented 6 years ago

Should be fixed in b4e7b7eb738c0bdd9920bfc8f0e4d6029b84c032