crnormand/gurps

[Feature] When using the modifier bucket, each selection collapses a category or scroll up the list

Opened this issue · 2 comments

When using the modifier bucket, each selection collapses a category, potentially increasing the number of clicks required. Some categories might benefit of it not collapsing (say cover and posture).

For a custom list of modifiers, it automatically scrolls up the list whenever one is chosen. I think it might be better if it doesn't.

2024 10 17 - 18h49m17s

mjeffw commented

@Grayscalae This is surprisingly harder than it looks. When you click on a modifier it is added to a persistent list of active modifiers, and then the window is completely redrawn. In order to make the disclosure widget stay open, or the custom modifier sheet maintain its scroll offset, those values would also have to be persisted so that when the sheet is redrawn, we can recover the open or scroll state of that widget. That means storing the open/close state of every widget and scroll offset of every custom modifier journal on every click.

@mjeffw ah, I see (well, not the technical aspects of it - my Computer Programming skill operates at default - but I understand it being difficult). Bummer, as it would be a great time saver.

Thanks for looking into anyway!