PhonologicalCorpusTools / SLPAA

5 stars 0 forks source link

fix issue #261 #264

Closed kvesik closed 7 months ago

kvesik commented 7 months ago

Relevant for when x-slots are turned off: ensure that the y-coordinate gets increased each time a new module's rectangle is added to the visual summary, so that they don't get stacked on top of one another.

It was just a question of moving the increment from outside a per-module loop, to inside the loop.

kvesik commented 7 months ago

@gracemyz FYI this PR address the display issue we were talking about today. It's just moving one line of code from outside of a loop to inside-- should be pretty easy to incorporate into your current branch(es) if it'd be helpful to go back to ignoring x-slots while you're working.